File.write("emails.html", formatter.format)