docs: emails in cloud (#14040)

* docs: emails in cloud

* add notes to user guides

* small updates

* small change

* fix link

* addressed feedback
This commit is contained in:
Shahed Nasser
2025-11-17 10:54:01 +02:00
committed by GitHub
parent 2c61a413dc
commit 4e1c474dfa
15 changed files with 1174 additions and 16 deletions

View File

@@ -89,11 +89,11 @@ export const highlights=[
["10", "token", "The password reset token."],
["11", "actor_type", "The user's actor type."],
["20", "urlPrefix", "Set the page's URL based on the user's actor type."],
["30", "createNotifications", "Send a notification to the user."],
["32", `"email"`, "The channel to send the notification through."],
["34", "template", "The template defined in the third-party provider."],
["35", "data", "The data to pass to the template in the third-party provider."],
["37", "reset_url", "The frontend URL to redirect the user to reset their password."]
["31", "createNotifications", "Send a notification to the user."],
["33", `"email"`, "The channel to send the notification through."],
["35", "template", "The template defined in the third-party provider."],
["36", "data", "The data to pass to the template in the third-party provider."],
["38", "reset_url", "The frontend URL to redirect the user to reset their password."]
]
```ts title="src/subscribers/handle-reset.ts" highlights={highlights} collapsibleLines="1-6" expandMoreLabel="Show Imports"

View File

@@ -8,6 +8,12 @@ export const metadata = {
In this document, you'll learn about the Notification Module and its providers.
<Note title="Looking for managed email service?">
Cloud offers [Medusa Emails](!cloud!/emails), a managed email service that allows you to send transactional emails with zero configuration. It is built on top of the Notification Module and provides an easy way to manage email notifications in your Cloud projects with insights and deliverability features.
</Note>
## What is the Notification Module?
The Notification Module exposes the functionalities to send a notification to a customer or user. For example, sending an order confirmation email. Medusa uses the Notification Module in its core commerce features for notification operations, and you an use it in your custom features as well.

View File

@@ -8,6 +8,12 @@ export const metadata = {
The SendGrid Notification Module Provider integrates [SendGrid](https://sendgrid.com) to send emails to users and customers.
<Note title="Looking for managed email service?">
Cloud offers [Medusa Emails](!cloud!/emails), a managed email service that allows you to send transactional emails with zero configuration. It is built on top of the Notification Module and provides an easy way to manage email notifications in your Cloud projects with insights and deliverability features.
</Note>
## Register the SendGrid Notification Module
<Prerequisites