Respect mailer configuration option.

If hander type is swift_mailer mailer was being set to the default 'mailer'. Check if mailer is set in hander and override the default.