Call email upload code on another thread so that response is faster.