Add lastModifiedTime.  Improve email handler.