You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: firestore-send-email/POSTINSTALL.md
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,36 @@ admin
40
40
41
41
See the [official documentation](https://firebase.google.com/docs/extensions/official/firestore-send-email) for information on using this extension, including advanced use cases such as using Handlebars templates and managing email delivery status.
42
42
43
+
#### Firestore-Send-Email: SendGrid Categories
44
+
45
+
When using SendGrid (`SMTP_CONNECTION_URI` includes `sendgrid.net`), you can assign categories to your emails.
"text": "This is a test email to see if categories work.",
55
+
"html": "<strong>This is a test email to see if categories work.</strong>"
56
+
}
57
+
}
58
+
```
59
+
60
+
Add this document to the Firestore mail collection to send categorized emails.
61
+
62
+
For more details, see the [SendGrid Categories documentation](https://docs.sendgrid.com/ui/sending-email/categories).
63
+
64
+
### Automatic Deletion of Email Documents
65
+
66
+
To use Firestore's TTL feature for automatic deletion of expired email documents, the extension provides several configuration parameters.
67
+
68
+
The extension will set a TTL field in the email documents, but you will need to manually configure a TTL policy for the collection/collection group the extension targets, on the `delivery.expireAt` field.
69
+
70
+
Detailed instructions for creating a TTL field can be found in the [Firestore TTL Policy documentation](https://firebase.google.com/docs/firestore/ttl).
71
+
72
+
43
73
### Monitoring
44
74
45
75
As a best practice, you can [monitor the activity](https://firebase.google.com/docs/extensions/manage-installed-extensions#monitor) of your installed extension, including checks on its health, usage, and logs.
Copy file name to clipboardExpand all lines: firestore-send-email/PREINSTALL.md
+29Lines changed: 29 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,27 @@ You can also optionally configure this extension to render emails using [Handleb
18
18
19
19
When you configure this extension, you'll need to supply your **SMTP credentials for mail delivery**. Note that this extension is for use with bulk email service providers, like SendGrid, Mailgun, etc.
20
20
21
+
#### Firestore-Send-Email: SendGrid Categories
22
+
23
+
When using SendGrid (`SMTP_CONNECTION_URI` includes `sendgrid.net`), you can assign categories to your emails.
"text": "This is a test email to see if categories work.",
33
+
"html": "<strong>This is a test email to see if categories work.</strong>"
34
+
}
35
+
}
36
+
```
37
+
38
+
Add this document to the Firestore mail collection to send categorized emails.
39
+
40
+
For more details, see the [SendGrid Categories documentation](https://docs.sendgrid.com/ui/sending-email/categories).
41
+
21
42
#### Setup Google App Passwords
22
43
23
44
**Google** no longer allows **Gmail** users to use their own passwords to authorize third-party apps and services. Instead, you have to use the [Sign in with App Passwords](https://support.google.com/accounts/answer/185833) service to generate a special password for each app you want to authorize. To do so:
@@ -43,6 +64,14 @@ To use your Outlook/Hotmail email account with this extension, you'll need to ha
43
64
44
65
Before installing this extension, make sure that you've [set up a Cloud Firestore database](https://firebase.google.com/docs/firestore/quickstart) in your Firebase project.
45
66
67
+
#### Automatic Deletion of Email Documents
68
+
69
+
To use Firestore's TTL feature for automatic deletion of expired email documents, the extension provides several configuration parameters.
70
+
71
+
The extension will set a TTL field in the email documents, but you will need to manually configure a TTL policy for the collection/collection group the extension targets, on the `delivery.expireAt` field.
72
+
73
+
Detailed instructions for creating a TTL field can be found in the [Firestore TTL Policy documentation](https://firebase.google.com/docs/firestore/ttl).
74
+
46
75
#### Billing
47
76
To install an extension, your project must be on the [Blaze (pay as you go) plan](https://firebase.google.com/pricing)
Copy file name to clipboardExpand all lines: firestore-send-email/README.md
+29Lines changed: 29 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,27 @@ You can also optionally configure this extension to render emails using [Handleb
26
26
27
27
When you configure this extension, you'll need to supply your **SMTP credentials for mail delivery**. Note that this extension is for use with bulk email service providers, like SendGrid, Mailgun, etc.
28
28
29
+
#### Firestore-Send-Email: SendGrid Categories
30
+
31
+
When using SendGrid (`SMTP_CONNECTION_URI` includes `sendgrid.net`), you can assign categories to your emails.
"text": "This is a test email to see if categories work.",
41
+
"html": "<strong>This is a test email to see if categories work.</strong>"
42
+
}
43
+
}
44
+
```
45
+
46
+
Add this document to the Firestore mail collection to send categorized emails.
47
+
48
+
For more details, see the [SendGrid Categories documentation](https://docs.sendgrid.com/ui/sending-email/categories).
49
+
29
50
#### Setup Google App Passwords
30
51
31
52
**Google** no longer allows **Gmail** users to use their own passwords to authorize third-party apps and services. Instead, you have to use the [Sign in with App Passwords](https://support.google.com/accounts/answer/185833) service to generate a special password for each app you want to authorize. To do so:
@@ -51,6 +72,14 @@ To use your Outlook/Hotmail email account with this extension, you'll need to ha
51
72
52
73
Before installing this extension, make sure that you've [set up a Cloud Firestore database](https://firebase.google.com/docs/firestore/quickstart) in your Firebase project.
53
74
75
+
#### Automatic Deletion of Email Documents
76
+
77
+
To use Firestore's TTL feature for automatic deletion of expired email documents, the extension provides several configuration parameters.
78
+
79
+
The extension will set a TTL field in the email documents, but you will need to manually configure a TTL policy for the collection/collection group the extension targets, on the `delivery.expireAt` field.
80
+
81
+
Detailed instructions for creating a TTL field can be found in the [Firestore TTL Policy documentation](https://firebase.google.com/docs/firestore/ttl).
82
+
54
83
#### Billing
55
84
To install an extension, your project must be on the [Blaze (pay as you go) plan](https://firebase.google.com/pricing)
0 commit comments