Adding support for Doctrine ODM (MongoDB)

I've added support for spooling emails through Doctrine ODM.