Added assertion about sending an email