@celery_app.task(name='froide.foirequest.tasks.process_mail', acks_late=True, time_limit=60)
def process_mail(*args, **kwargs):
    translation.activate(settings.LANGUAGE_CODE)
    with transaction.atomic():
        _process_mail(*args, **kwargs)
@celery_app.task(name='froide.foirequest.tasks.process_mail', acks_late=True, time_limit=60)
def process_mail(*args, **kwargs):
    translation.activate(settings.LANGUAGE_CODE)
    with transaction.atomic():
        _process_mail(*args, **kwargs)