Messaging (email)

Setting

MESSAGING_APP_URL (non-secret), MESSAGING_API_KEY (secret)

Client

messagingapp.client.MessagingAppClient (MessagingPySDK, tag 2.0.0), configured by config.MsgClientParams

Code

tasks/notifications.py (SlackNotifier._notify), activity/services.py (MessangingService)

Notification emails

SlackNotifier sends one email per recipient and action with the default_config template, subject [TASKS NOTIFICATION] #<number> <title>, HTML and text bodies from TEMPLATES["email"], and message_type="task notification". Actions: edit, assigned, commented, resolved.

Recipients are deduplicated per notifier. Addresses in NOTIFICATIONS_EMAIL_BLACKLIST (config.py) and empty addresses are skipped. A MessageError is logged and does not stop the other recipients.

Email history

GET /activity/ reads {MESSAGING_APP_URL}/email/ and /email/batch/ for the target, forwarding the caller’s credentials. A non-200 fails the request.