# README
Emailer
Small email service written in GO
Run on Docker
Image is already published on Docker Hub here
docker run kermeth/emailer
Roadmap
- Add testing
- Support attachments
- Support multiple target emails
- Support Gmail GCP API
- Support Microsoft Graph API
- Support Amazon SES
- Retry Mechanism
- Rate Limiting
- Read message from RabbitMQ
API Reference
Healthcheck
GET /health
Send email
POST /smtp/send
{
"to": [
"[email protected]"
],
"cc": [],
"bcc": [],
"subject": "Test email",
"body": "This is <b>a</b> test email",
"attachments": [
{
"name": "test.txt",
"data": "VGhpcyBpcyBhIHRlc3QgYXR0YWNobWVudA=="
}
],
"configuration": {
"host": "smtp.gmail.com",
"port": 587,
"alias": "John Doe",
"from": "[email protected]",
"password": "p4$$w0rd"
}
}
Deployment
To deploy this project run
go build
./emailer
Changelog
- 0.1.1
- Allow alias for sender
- 0.1.0
- Initial Release
- SMTP Support
- Attachments Support