Send an Email
POST/email-svc/email
Sends an email with optional attachments via a supported email provider.
Currently, only SendGrid is supported. Additional providers may be added in the future.
Required secrets from the Secret Svc for SendGrid:
sender-email
: Sender's email address.sender-name
: Sender's display name.sendgrid-api-key
: API key for SendGrid.
Request
Responses
- 200
- 400
- 401
- 500
Successfully sent the email
Invalid JSON
Unauthorized
Internal Server Error