Last week while reading Quora, I came across an interesting Outlook question from Siddharth Sreenivas. His question was, “Are there any free applications that let you mail merge with unique attachments on each mail?”. There are a number of third party mail merge tools, some of which (e.g. MAPILab’s Mail Merge Toolkit) do add this capability. But, none of the ones I know of are free. That’s not to say that they’re expensive, a single user license of the MAPILab product is just $24, but I don’t know of any that are free. My job doesn’t call for me to use Outlook’s mail merge very often, I probably haven’t done one in 5-6 years, but I remember that the process seemed a little complicated and thinking that there ought to be a simpler approach. Another disadvantage of Outlook’s built-in mail merge is that you can’t save and reuse it. That would be really handy if you need to do the same merge periodically. Writing a mail merge script sounded like an interesting challenge, so I responded to Siddharth and offered to help him out.
The solution I’ve put together solves the problems I mentioned above. It’s simple, flexible, and enables you to reuse a merge. Since it’s a scripted solution, it’s also extensible. The solution is made up of four components.
Continue reading