Fixed real transport
Added mailer optional argument for SendEmailCommand