# Packages

No description provided by the author
Package mock provides a test email provider that is used in tests.
Package sendgrid provides the implementation of an email sender using SendGrid.
Package smtp implements SMTP as email provider.
Package templates is responsible for handling the email templates sent by The Things Stack.

# Functions

GetNotification returns a registered email notification from the registry in the context (if available), otherwise falling back to the default registry.
GetTemplate returns a registered template from the registry in the context (if available), otherwise falling back to the default registry.
NewNotificationRegistry returns a new empty email notification registry.
NewNotificationTemplateData returns new notification template data.
NewTemplateData returns new template data.
NewTemplateFS parses a new email template by reading files on fsys.
NewTemplateRegistry returns a new empty template registry.
RegisteredNotifications returns the names of the registered email notifications in the default registry.
RegisteredTemplates returns the names of the registered templates in the default registry.
RegisterNotification registers an email notification on the default registry.
RegisterTemplate registers a template on the default registry.

# Structs

Config is the configuration for sending emails.
FSTemplate defines the template files to parse from the file system.
Message for sending over email.
NetworkConfig is the configuration of the network that sends the emails.
NotificationBuilder is used to build notifications.
SenderConfig is the configuration of the sender.
Template is the template for an email message.

# Interfaces

NotificationRegistry keeps track of email notifications.
NotificationTemplateData extends TemplateData for notifications.
Sender is the interface for sending messages over email.
TemplateData is the minimal interface Execute needs to render an email template.
TemplateRegistry keeps track of email templates.

# Type aliases

MapNotificationRegistry is an email notification registry implementation.
MapTemplateRegistry is a template registry implementation.
NotificationTemplateDataBuilder is used to extend NotificationTemplateData.
TemplateDataBuilder is used to extend TemplateData.