commit right after updating last_email_sent because darn it should really save it