offload mail parsing to web worker