Runs a mock GreenMail SMTP server inside a Grails application during development and test, so mail the application sends is captured instead of delivered. Captured messages can be asserted on from integration tests, or browsed in a running application.