HXQLabs / HXQLabs/Helixque

Add Resend and Breveo Mailing Services (Loadbalancing possible)

Open
#98 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
135
Forks
75
PR merge metrics
No merged PRs in 30d

Description

## Backend Feature

I suggest adding **Resend** and **Brevo** mailer clients to the **backend** Utils.
These clients will allow the backend to send transactional or notification emails using either service.

It can be a good option to add for future use.

--
## What is to be done.
1. **Create a `Mailers/` directory** in the Next.js project (under `/lib`).
2. Create the **Clients** for Brevo and Resend
3. **Integrate with API routes**: - Create a test API route like `api/sendmail` that calls one or both mailers (_possible load balancing_).
- Route should accept JSON body: `{ "to": "email@example.com", "subject": "Test", "html": "

Hello

" }`.
- Return JSON with the success/error result from the mailer function.
- Proper HTTP responses to be captured
--

## Related

- Future backend notifications and alerting features.
- Linked to system monitoring or admin alert enhancements.
--

**Please consider this Issue for Hacktoberfest, and I would love to work on this**
---

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.