Adding support for mock mailing

With Email::setMockMailer()