In this blog post, I am going to offer a way to extract large batches of email newsletters from Constant Contact for the purposes of creating email archives, resulting in each message as a PDF.
First, some background. I have recently finished an email archiving project for the History & Archives of Front Runners New York. The club used to snail-mail newsletters since the early 1980s, but transitioned to email newsletters around 2004, and has been using Constant Contact since 2007 for its newsletter software. They had managed to retain all the messages in Constant Contact, however, not all the embedded images.
Constant Contact does not have an easy way to export sent messages in bulk. Thus, I created a script that leverages the Constant Contact API to export messages and the related metadata. It creates a PDF, first including a full-length image of the email message, followed by a JSON export of the message metadata, and complete with text-version of the email message (if available). This allows for the look of the message to be retained, but also text-searchable.