Committing send email code.