Whenever file attachments are used with SendEmailToExchangeServer, EmailTask.cs#L274 loads the entire attachment file into memory. This is a potential issue with huge attachments. Some memory could be saved by opening a FileStream and streaming the contents from that instead.