Download OpenAPI specification:
Email sending service.
Receives a frontend error report, logs it to the database, and sends a notification email to the configured LOG_EMAIL_TO addresses. Only processes reports in production environment.
required | object |
required | object |
required | object |
{- "error_info": {
- "error_id": "string",
- "timestamp": "string",
- "software": {
- "name": "string",
- "version": "string",
}
}, - "error": {
- "message": "string",
- "stack": "string",
- "status": 0
}, - "browser": {
- "user_agent": "string",
- "viewport": {
- "width": 0,
- "height": 0
}, - "screen": {
- "width": 0,
- "height": 0
}
}
}{- "message": "Error reported"
}Queues an email for sending via the emails microservice. The email is saved to the database and will be sent by the scheduled child process.
string or object Sender address. Falls back to backup SMTP auth user if not provided. | |
| to required | string <email> Recipient email address |
| subject required | string Email subject line |
| html required | string HTML email body |
| cc | string CC email address(es) |
| flagPriority | boolean If true, email is prioritized |
Array of objects Array of file attachments |
{- "from": "string",
- "subject": "Welcome to the platform",
- "html": "<h1>Hello</h1><p>Welcome!</p>",
- "cc": "string",
- "flagPriority": true,
- "attachments": [
- {
- "filename": "ticket.pdf",
- "content": "string",
- "contentType": "application/pdf"
}
]
}{- "message": "Email queued for sending.",
- "id": 42
}