def METHOD_NAME(self, data):
    """Delay the export, called from js"""
    params = json.loads(data.get("data"))
    if not self.env.user.email:
        raise UserError(_("You must set an email address to your user."))
    self.with_delay().export(params)