Moved MailSending/Packaging functions to a solitude class