final UserProfile sProfile = profile;
final MimeMessage sMimeMessage = mMsg;
final String sMessageText = messageText;
final String sMessageContentType = messageContentType;
final NewMessageCryptoInfo sCryptoInfo = cryptoInfo;
OutgoingMailServer mailServer = null;
if (profile != null)
mailServer = profile.getMailServer();