Extended timeout period.
Cleaned up error handling in queue_email.