Added mailcore::AutoreleasePool on each event handler