I built this simple app to send invitations, reminders, and eventually thank you notes to those who were invited to my wedding. I have done my best to open-source it in a digestible way.
There is an accompanying blog post so that you can follow along in order to hook things up to your own personal gmail account and send emails from your terminal.