Add check for alternative SwiftMailer class