> For the complete documentation index, see [llms.txt](https://developers.gleantap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.gleantap.com/update-data/send-email-notifications.md).

# Send Email Notifications

## Send email notification

> Send an email notification to a specific contact. Either use the message parameter or use a template.

```json
{"openapi":"3.0.0","info":{"title":"Gleantap External API","version":"1.0.0"},"tags":[{"name":"Notifications","description":"Notifications"}],"servers":[{"url":"https://api.gleantap.com","description":"Production server"}],"paths":{"/v2/ExternalApi/sendEmailNotification/{app_id}":{"post":{"tags":["Notifications"],"summary":"Send email notification","description":"Send an email notification to a specific contact. Either use the message parameter or use a template.","operationId":"e3b8deb13ded307791e4f417f41f43ae","parameters":[{"name":"X-API-KEY","in":"header","description":"Your API key","required":true,"schema":{"type":"string"}},{"name":"X-SECRET-KEY","in":"header","description":"Your Secret key","required":true,"schema":{"type":"string"}},{"name":"app_id","in":"path","description":"Application ID","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"required":["to_email","subject","message"],"properties":{"_id":{"description":"Unique Gleantap Contact ID for personalization","type":"string"},"to_email":{"type":"string","format":"email"},"subject":{"type":"string"},"message":{"type":"string"},"template_id":{"description":"Email template ID (optional)","type":"string"},"attachments":{"type":"array","items":{"properties":{"name":{"type":"string"},"content":{"type":"string","format":"binary"}},"type":"object"}}},"type":"object"}}}},"responses":{"200":{"description":"Email sent successfully","content":{"application/json":{"schema":{"properties":{"status":{"type":"boolean"},"message":{"type":"string"}},"type":"object"}}}},"400":{"description":"Invalid request parameters"},"401":{"description":"Unauthorized - Invalid API credentials"},"500":{"description":"Email sending failed"}}}}}}
```
