added test snippets to see where emailer fails