Python class that allows error reporting via email.