[FIX] renamed 'email_template' m2o field in 'email_template_id' in scheduler_error_mailer module
[IMP] flake8