make date handling work in production
more random date fixing
handle email sending gracefully