swiftmailer return is numeric, so we can't use typesafe comparison here