test_mail_html tests MailAPI's implementation of checkForExternalImages and showExternalImages.  These fundamentally need a DOM to test.  See comment below.