This article provides a solution to automate the download of email messages (including embedded files and attachments) from an IMAP server using C# and MailBee.NET. Download Source Code - 10 KB Introduction This week I completed an interesting year-end assignment for another software company, InSite Systems . For the purposes of safe-keeping and due diligence, copies of all email messages sent from (and received by) team members had to be downloaded from the company's IMAP mail server and stored on an offline file system. I created a simple C# console application to do the job, and I thought I'd share the source code with readers here. You will need an IMAP class library for this solution. I found a great set of components from a company called AfterLogic: MailBee.NET Objects The solution downloads only one folder for one user at a time, so if you want to automate the download of multiple folders and/or multiple users then you'll need to roll some additional...