I've talked in the past about managing mail messages in your Inbox, and about saving email attachments to your hard drive. A reader recently asked about saving a mail message as a file on your hard drive.
require 'win32ole'olHTML = 5outlook = WIN32OLE.connect("Outlook.Application")mapi = outlook.GetNameSpace("MAPI")inbox = mapi.GetDefaultFolder(6)msg = inbox.Items(2)msg.SaveAs('c:\temp\message.htm', olHTML)