Add blocking send_email method

So we can use the same library in Tornado and Celery code