diff --git a/webapp/utils.py b/webapp/utils.py index 71de738..03024d7 100644 --- a/webapp/utils.py +++ b/webapp/utils.py @@ -55,6 +55,10 @@ def month_from_now(): def send_email(to, subject, body, html=False): if not ENABLE_AUTOMATIC_EMAILS: + logging.debug("Skipping email") + logging.debug(f"to: {to}") + logging.debug(f"subject: {subject}") + logging.debug(f"body: {body}") return try: mailjet = Client(auth=(EMAIL_API_KEY, EMAIL_API_SECRET), version='v3.1')