getting back emails from the server