how about creating an instance of your mail server as an object.
e.g. CreateObject("Outlook.Application")
you can then use its methods and sctions such as
.Recipients.Add
.Type = 1, 2 or 3 (To, CC or BCC)
.Attachments.Add(path to attachment)
.Subject
.body
.Importance
.Resolve
.Send
etc...