Improve the logging emailer used for testing

Stop overriding functions in the DummyMailer class so that there is
full support for all the mailer functions. Logging is acheived by a
small list subclass that thunks the list append method to log.