The Email Marketing Agent is an intelligent solution designed to streamline the creation and distribution of marketing emails. Powered by Mastra AI using Groq model, this agent automatically generates well-structured marketing emails based on user input and delivers them to a designated Telex channel. With a focus on efficiency, scalability, and automation, this tool eliminates the hassle of manual email drafting while ensuring consistency in tone and messaging. It also features built-in logging to track sent drafts, providing visibility into email campaigns.
β
AI-generated marketing emails (Mastra AI + Groq)
β
Structured email content (subject, body, CTA)
β
Telex channel integration for email dispatch
β
Basic logging for tracking email drafts
β
Scalable & extendable architecture (NestJS)
- Backend: NestJS, TypeScript
- AI Integration: Mastra AI, Groq
- Messaging: Telex
- Logging: Winston, NestJS Logger
Ensure you have the following installed:
- Node.js (>= 18)
- NestJS CLI (
npm install -g @nestjs/cli
)
git clone https://github.com/yourusername/email-marketing-agent.git
cd email-marketing-agent
npm install
npm run start
- Send a POST request to: POST /email/generate
We welcome contributions! Follow these steps:
- Fork the repository
- Create a new feature branch:
git checkout -b feature-new-feature
- Commit changes:
git commit -m "Added new feature"
- Push to GitHub:
git push origin feature-new-feature
- Submit a Pull Request