A modern and dynamic Email SDK written in TypeScript
Learn more »
Installation ·
Usage ·
Contribution ·
npm install dynmail # bun, pnpm, yarnimport { dymail, resend, sender } from 'dynmail'
const mail = dymail({
providers: [resend()],
senders: [
sender({
name: 'Support',
from: 'support@myapp.com'
})
]
})
await mail.send({
to: 'johndoe@email.com',
subject: 'Welcome to MyApp',
body: '<h1>Welcome to MyApp</h1>'
})To learn more about the usage, check out the documentation.
Contributions are welcome! Specifically, you can help with:
- Adding new providers
- Improving the documentation
- Fixing bugs (or opening issues)
This project is licensed under the MIT License.