Move Email Export To Celery Task

@hedleyroos please could you review this. Thanks.