Python
Email
Send Email Template
Send transactional or automated emails using predefined templates
POST
Python
Overview
Use this endpoint to send emails based on templates you’ve created in the Minimo dashboard. Perfect for:- Transactional emails: Order confirmations, password resets, receipts
- Automated messages: Welcome series, onboarding flows
- Triggered notifications: Account alerts, status updates
Before You Start
- Create a template in the Minimo dashboard under Templates → Email
- Get the template ID from the templates list
- Define custom fields in your template using
{{variableName}}syntax - Test your template using the dashboard preview before API integration
Template Variables
Templates support dynamic content using variables: Template Example:Use Cases
Order Confirmation
Order Confirmation
Send instant confirmation when an order is placed:
Password Reset
Password Reset
Send password reset links securely:
Welcome Email
Welcome Email
Onboard new users with a welcome message:
Best Practices
Email Deliverability
Template Design
- Keep it simple: Plain text or simple HTML works best
- Test responsiveness: Templates should work on mobile devices
- Include branding: Add your logo and brand colors
- Clear call-to-action: Make buttons and links obvious
Error Handling
Always handle potential errors:Common Errors
| Error | Cause | Solution |
|---|---|---|
template_not_found | Invalid template ID | Verify template ID in dashboard |
invalid_recipient | Invalid email address | Validate email format before sending |
missing_custom_field | Template variable not provided | Include all required custom fields |
rate_limit_exceeded | Too many requests | Implement rate limiting, use queues |
sender_not_verified | Email domain not verified | Verify sender domain in dashboard |
Tracking & Analytics
After sending, track email performance:- Delivery status: Check if email was delivered
- Open rate: See who opened your emails
- Click rate: Track link clicks in your templates
- Bounce rate: Monitor bounced emails
Related Endpoints
- List Email Templates - Get all available templates
- Get Email Template Stats - View template analytics
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Response
Successful response