Send email on error

This sets up the email server to use configuration from the config file, and also to send emails on website error to the amgut email.
Please add all of these to the docstring