switch to .NET 4.0

replaced SharpMimeTools with MimeKit (from nuget)
cleaned up and hopefully simplified some logic