The current implementation of Mongster server has an ugly hack at its core - overriding ArrayList to get messages persisted to Mongo as they are added to Wiser's in-memory store. In addition, Mongster attempts to be thread-safe, but Wiser is not. A better implementation would be to have Mongster work directly with an SMTPServer provided by SubEthaSMTP.