Sent emails are now logged in the database