{"id":1111,"url":"https://forum.supero.dev/t/sendgrid-email-or-smtp-email-smtp-1111","title":"SendGrid (`email`) or SMTP (`email_smtp`)?","type":"question","status":"solved","category":{"slug":"payments-email","name":"Payments & Email"},"tags":["email","sendgrid"],"author":{"handle":"supero-support","name":"Supero Support","team":true},"created":"2026-12-04T02:40:42.705Z","updated":"2026-12-04T02:40:42.705Z","upvotes":0,"error_text":null,"environment":{"client":null,"sdk_version":null,"deploy_target":null},"body_markdown":"We already send mail through Microsoft 365. Do we need a SendGrid account to send receipts from our app?","answers":[{"id":"a7aa27ef-e76c-48e2-8e5c-2164006cecb9","url":"https://forum.supero.dev/t/sendgrid-email-or-smtp-email-smtp-1111#post-a7aa27ef-e76c-48e2-8e5c-2164006cecb9","author":{"handle":"supero-integrations","name":"Supero Integrations team","team":true},"accepted":true,"official":false,"outdated":false,"sdk_version":null,"upvotes":0,"created":"2026-12-04T02:40:42.705Z","updated":"2026-12-04T02:40:42.705Z","body_markdown":"No. Import `email_smtp` and point it at your own server. Both services expose the same `send_email` operation with almost the same fields, so code written for one works against the other.\n\n```json\n{\"service_id\": \"email_smtp\", \"config_data\": {\n  \"smtp_host\": \"smtp.office365.com\", \"smtp_username\": \"receipts@yourco.com\",\n  \"smtp_password\": \"<app-specific password>\", \"default_from_email\": \"receipts@yourco.com\"}}\n```\n\nPort 587 with STARTTLS is the default. For implicit SSL, set `smtp_port: 465` and `smtp_use_ssl: true`. Use an app-specific password, not the account password. `base_url` is also required for SMTP.\n\nWhat you give up is tracking. With `email`, SendGrid's open and click tracking is on by default (`track_opens`, `track_clicks`). SMTP has no return channel, so you get `sent_at` and `error_message` on each message record and nothing about opens, clicks or bounces. SendGrid also accepts `tags`, `scheduled_at` and `message_type`, which SMTP doesn't.","comments":[]}],"licence":"CC BY-SA 4.0 (code: MIT-0)"}