Added a basic mailing system. Still need to coordinate user timezones, but the rest of it seems to work pretty well.