circle-exclamation
This documentation is currently under development. Certain sections are not yet complete and will be added shortly.

SendGrid

Configure how The Wallet Crew sends transactional emails with SendGrid.

The Wallet Crew can send transactional emails through SendGrid. This covers messages like pass download links, verification emails, etc.

By default, The Wallet Crew uses its own SendGrid account. You can switch to your own SendGrid account when you need full ownership of deliverability, reputation, and billing.

If you’re not sure which option to pick, start with Email provider.

Option 1 : Use The Wallet Crew SendGrid account

This is the simplest option, and it’s the default. You don’t need to create a SendGrid account or manage API keys. The Wallet Crew takes care of it.

If you want customers to see your Brand in their inbox, enable a custom sending domain. This improves deliverability. It also reduces spoofing and phishing risks.

circle-info

When you use The Wallet Crew SendGrid account, The Wallet Crew must enable the custom sending domain on its side. You will still need to add DNS records (SPF/DKIM, and ideally DMARC) on your domain.

1

Decide what sender domain you want to use

Prefer a dedicated subdomain such as wallet.yourbrand.com or registration.yourbrand.com. This keeps email authentication isolated from other mail systems.

circle-info

Delegating a dedicated subdomain reduces your attack surface and improves security by isolating pass-related traffic. We recommend using the same custom domain as your app.

2

Ask support to enable your sending domain

Contact The Wallet Crew support with the subdomain you want to use. The team will provide the DNS records to add and will enable the domain in SendGrid.

3

Configure DNS (SPF, DKIM, DMARC)

Add the DNS records provided by The Wallet Crew, then wait for DNS propagation.

For the general process and why it matters, see Configuring Custom Domain.

4

Test a real send

Trigger one transactional email and confirm:

  • the email is delivered (not blocked or quarantined)

  • the visible sender matches your intended domain

  • SPF/DKIM pass (check in your mailbox headers if needed)

Option 2: Use your own SendGrid account

1

Create a SendGrid API key

In SendGrid, go to SettingsAPI Keys. Create an API key with Mail Send permissions.

2

Update /server/emails.yml

Open the advanced configuration editor:

The Wallet Crew Administration - Advanced configuration

Then create or edit /server/emails.yml.

/server/emails.yml
provider:
  type: sendgrid
  apiKey: YOUR_SENDGRID_API_KEY
  from:
    email: [email protected]
    name: Your Brand
resources:
  - /locales/emails/

Use a from.email that belongs to a domain you authenticate in SendGrid.

circle-exclamation
3

Configure sender authentication in SendGrid

Authenticate your sending domain in SendGrid using the standard “Domain Authentication” flow. This configures SPF and DKIM. Add a DMARC record for your sending domain if needed. This improves deliverability and reduces spoofing risk.

4

Save and test

Save the file. Trigger a single transactional email. Verify the event in your SendGrid activity logs.

Troubleshooting

  • If SendGrid returns 401 or 403, your API key is invalid or missing permissions.

  • If the “from” address is rejected, your domain is not authenticated. Check SPF and DKIM first.

  • If emails land in spam, re-check authentication, DMARC policy, and sender reputation.

  • If nothing changes after editing, confirm you saved the right tenant file. The file must be /server/emails.yml.

FAQ

chevron-rightWhere do I configure SendGrid in The Wallet Crew?hashtag

Edit /server/emails.yml in the advanced configuration editor.

chevron-rightCan we keep The Wallet Crew SendGrid account instead of using our own?hashtag

Yes. The Wallet Crew uses its own SendGrid configuration by default.

If you keep it, you can still send from a domain you control. Ask support to enable a custom sending domain, then configure SPF/DKIM and DMARC on your DNS.

chevron-rightDo we need to authenticate our domain in SendGrid?hashtag

Yes. Enable SendGrid Domain Authentication (SPF/DKIM). Also add a DMARC record for the domain or subdomain you use for from.email.

chevron-rightCan we use different SendGrid accounts per environment?hashtag

Yes. Each tenant has its own configuration. You can use different API keys per tenant.

chevron-rightWhat’s the fastest way to validate the integration?hashtag

Save /server/emails.yml, trigger a single transactional email, then verify it in your SendGrid Activity feed.

Last updated