Adds emailSent flag to database.