human
How to convert a tuple to a string in Python?
assistant
Here is some code to convert a set of tuples `queryresult` to a string `emaillist`

emaillist = '\n'.join(item[0] for item in queryresult)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.