move swiftmailer to bridge.
rearranging and code style.