![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@backstage/plugin-notifications-backend-module-email
Advanced tools
The email backend module for the notifications plugin.
Adds support for sending Backstage notifications as emails to users.
Supports sending emails using SMTP
, SES
, sendmail
, or stream
(for debugging purposes).
The email content can be customized with the notificationsEmailTemplateExtensionPoint
. When you create
this extension, you can set the custom NotificationTemplateRenderer
to the module. To modify the contents,
override the getSubject
, getHtml
and getText
methods.
import { notificationsEmailTemplateExtensionPoint } from '@backstage/plugin-notifications-backend-module-email';
import { Notification } from '@backstage/plugin-notifications-common';
export const notificationsModuleEmailDecorator = createBackendModule({
pluginId: 'notifications',
moduleId: 'email.templates',
register(reg) {
reg.registerInit({
deps: {
emailTemplates: notificationsEmailTemplateExtensionPoint,
},
async init({ emailTemplates }) {
emailTemplates.setTemplateRenderer({
async getSubject(notification) {
return `New notification from ${notification.source}`;
},
async getText(notification) {
return notification.content;
},
async getHtml(notification) {
return `<p>${notification.content}</p>`;
},
});
},
});
},
});
notifications:
processors:
email:
# Transport config, see options at `config.d.ts`
transportConfig:
transport: 'smtp'
hostname: 'my-smtp-server'
port: 587
secure: false
username: 'my-username'
password: 'my-password'
# AWS SES
# transportConfig:
# transport: 'ses'
# accessKeyId: 'my-access-key
# region: 'us-west-2'
# sendmail
# transportConfig:
# transport: 'sendmail'
# path: '/usr/sbin/sendmail'
# newline: 'unix'
# The email sender address
sender: 'sender@mycompany.com'
replyTo: 'no-reply@mycompany.com'
# Who to send email for broadcast notifications
broadcastConfig:
receiver: 'users'
# How many emails to send concurrently, defaults to 2
concurrencyLimit: 10
# How much to throttle between emails, defaults to 100ms
throttleInterval:
seconds: 60
# Cache configuration for email addresses
# This is to prevent unnecessary calls to the catalog
cache:
ttl:
days: 1
# Notification filter which this processor will handle
filter:
# Minimum severity of the notification to send email
minSeverity: high
# Maximum severity of the notification to send email
maxSeverity: critical
# Topics that are excluded from sending email
excludedTopics:
- scaffolder
# List of allowed email addresses to get notifications via email
allowlistEmailAddresses:
- john.doe@backstage.io
# List of denied email addresses to get notifications via email
denylistEmailAddresses:
- jane.doe@backstage.io
See config.d.ts
for more options for configuration.
FAQs
The email backend module for the notifications plugin.
The npm package @backstage/plugin-notifications-backend-module-email receives a total of 0 weekly downloads. As such, @backstage/plugin-notifications-backend-module-email popularity was classified as not popular.
We found that @backstage/plugin-notifications-backend-module-email demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.