Send email in a separate thread.