Rewrite email-generating code.
Add a catch-all __getattr__(); add comments
For failures, add http links to log directories.