feat(notification): add email notification infrastructure, smtp configuration, and periodic background delivery job (#431)

* feat(notification): add email notification support and dedicated workflow

* feat(webui): add team email notification settings and test email dialog

* refactor(webui): remove redundant card header from email notification settings

* fix(notification): prevent sending notification emails to AI agents

* feat(notification): display project, avatar, upload time and resolve mention names in notification emails

* refactor(notification): remove uploadDebounceSeconds and naive workflow sleep

* refactor(notification): remove temporal notification workflow and keep email infrastructure

* fix(team): prevent leaking email notification settings and credentials in team settings

* feat(notification): add periodic background job for batched email notification delivery

* fix(notification): embed avatars and thumbnails as inline cid attachments
This commit is contained in:
Yiling-J
2026-09-28 09:58:59 +08:00
committed by GitHub
parent 94ea4c917a
commit d98f486c9d
33 changed files with 4021 additions and 20 deletions
+33
View File
@@ -295,6 +295,39 @@
"kanban_comments": "Kanban Comments",
"when_kanban_task_commented": "When someone comments on a task",
"email_notifications": "Email Notifications",
"email_notifications_description": "Configure SMTP settings for sending email notifications to team members.",
"enable_email_notifications": "Enable Email Notifications",
"enable_email_notifications_description": "Send email notifications for comments, mentions, uploads, and other team activity.",
"smtp_settings": "SMTP Server Settings",
"smtp_host": "SMTP Host",
"smtp_host_placeholder": "e.g. smtp.example.com",
"smtp_port": "SMTP Port",
"smtp_username": "Username",
"smtp_username_placeholder": "e.g. user@example.com",
"smtp_password": "Password",
"smtp_password_placeholder": "Enter SMTP password",
"smtp_password_keep_placeholder": "•••••••• (Leave blank to keep current)",
"smtp_secure": "SSL / TLS (SMTPS)",
"smtp_secure_description": "Connect directly over SSL/TLS (commonly used with port 465).",
"smtp_ignore_cert": "Ignore Certificate Errors",
"smtp_ignore_cert_description": "Allow self-signed or unverified SSL/TLS certificates.",
"sender_settings": "Sender Information",
"sender_from": "From Address",
"sender_from_description": "Sender email address, for example: \"Shumai <noreply@example.com>\". Make sure to use an address you're allowed to send emails from.",
"sender_reply_to": "Reply-To Address",
"sender_reply_to_description": "Optional address where replies to notifications should be directed.",
"save_and_send_test_email": "Save & Send Test Email",
"send_test_email": "Send Test Email",
"send_test_email_dialog_description": "Sender email address, for example: \"Shumai <noreply@example.com>\". Make sure to use an address you're allowed to send emails from.",
"test_email_sent_successfully": "Test email sent successfully",
"failed_to_send_test_email": "Failed to send test email",
"email_settings_saved": "Email settings saved successfully",
"failed_to_save_email_settings": "Failed to save email settings",
"failed_to_load_email_settings": "Failed to load email settings",
"smtp_host_required": "SMTP Host is required",
"from_address_required": "From address is required",
"api_tokens": "API Tokens",
"api_tokens_description": "Generate and manage API tokens. These tokens allow you or your agents to run terminal commands via shumai-cli.",
"developer_settings": "Developer Settings",