Stop throwing exception when no MailMethod is defined