This is a small c# class I wrote to help me send gmail from maxscript. I am going to use this in a special project where I need an email as soon as the rendering is complete then it sends me an preview image of that image.
You might need another reason for being able to gmail from inside 3dsmax.
The reason it is hardcoded for gmail was due to the requierments of my project. If there is a need for opening up so that you can have any settings, then I might do that in the future.
See included maxscript for how you can add this to one of your scripts.