Bug 900894 - Add a integration test for sending email via IMAP.
Bug 900894 - Add fakeserver helpers
Bug 900894 - Hack sockets.