Email gateway
An email gateway sends your users their one-time codes (and other process emails) by email. Configure it from Manage environment β External services (see Overview). iCure supports three providers β pick the one you have an account with:
| Provider | Fields |
|---|---|
| SendGrid | Api Key |
| SMTP | Host, User, Password |
| Outlook | Tenant ID, Client ID, Client Secret |
You also set the sender email the messages go out from.
The email gateway is what an authentication process uses to deliver email OTPs. You can run email and SMS gateways side by side and choose the channel per process.
A process can only use a channel you've configured. With only an email gateway set up you can't create an SMS authentication process β add an SMS gateway first. See Authentication Processes (setup).
Email gateways are Environment-Access only and shared across every project in the Environment. To try things without your own provider, use the Demo setup (limited to 200 emails).
Where to go nextβ
- SMS β the SMS counterpart.
- Demo setup β the preconfigured SendGrid demo.
- Authentication Processes (setup) β picking a channel per process.
Cardinal SDK reference: Registering users β the email gateway delivers a processβs one-time codes.