From a231913ab273f427697f2d27d615b495f6e160bb Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sun, 25 Oct 2026 20:47:14 +0100 Subject: feat(receiver): add email notifications for new webmentions Send an email after a newly received Webmention is successfully verified, with SMTP delivery configurable through Flask-Mail. Avoid notifications for resubmissions and manual reverification, and keep the persisted verification result unchanged if notification enqueueing fails. --- webmentions_ssg/tasks/consumer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webmentions_ssg/tasks/consumer.py') diff --git a/webmentions_ssg/tasks/consumer.py b/webmentions_ssg/tasks/consumer.py index 0f73529..d71f2fa 100644 --- a/webmentions_ssg/tasks/consumer.py +++ b/webmentions_ssg/tasks/consumer.py @@ -19,7 +19,7 @@ def create_consumer() -> Huey: """ app = create_app() - from . import receiver, scanner, sender # noqa: F401 + from . import notifications, receiver, scanner, sender # noqa: F401 schedule = crontab( *app.config["WEBMENTIONS_SSG_SCANNER_SCHEDULE"].split(), strict=True -- cgit v1.3.1