Handle SMTPException
Refactor email backend
Added User-Agent and Referer properties
Email text template
Handle errors