Changed the way IDs are handled and wired in the MailMessenger thread.