What you can customize (via CometChat Dashboard)
- Eligibility & throttling (Preferences): unread-only toggle, per-conversation delay, daily caps, per-conversation caps, override toggle for end users.
- Payload content (Preferences → Email Payload Message Options): include message object, message metadata, sender metadata, receiver metadata.
- Subjects (Templates): default vs privacy subject strings for 1:1 and group.
- Templates: configure default/privacy subjects; body rendering is handled in your provider using payload fields.
- Custom providers: point to your own webhook instead of SendGrid.
Preferences
Delivery limits, overrides, and payload inclusion toggles.
Templates
Subjects and payload shapes to render your email content.
Custom Providers
Configure SendGrid or webhooks for email delivery.
What you can customize (via SendGrid or your provider)
- Subjects: use the payload
subjector build your own fromsenderDetails/groupDetails/messages.length. - Body content: loop over
messagesto show previews; add CTAs, links, and branding; optionally hide content for privacy. - Branding: layout, logo, colors, typography handled entirely in your template.
- Data mapping: map payload fields to template variables (see Email Templates for payload shapes and a SendGrid example).
Example flow
- In CometChat dashboard, enable Email Notifications and set preferences.
- Configure a SendGrid provider (or custom provider webhook).
- In your SendGrid Dynamic Template, map variables to the payload (subject, recipientName, senderName, unreadCount, messages[]).
- Adjust subjects/privacy as needed in the dashboard templates.