Next.js Discord

Discord Forum

Email Sending Services on Next.js

Unanswered
Common carp posted this in #help-forum
Open in Discord
Common carpOP
Hi everyone
I have a question regarding email sending infrastructure for websites, and I’d appreciate guidance from people who have experience with this.

### My Current Situation

I have built a website that works as an enquiry platform.
When a user fills out a form and enters their email and requirements, I want that information to be sent to my email inbox automatically.

Currently I am using EmailJS, which allows sending emails directly from the frontend.
However, EmailJS becomes expensive when the number of emails increases.

Because of that, I’m planning to move to Brevo.

### The Problem I’m Facing

The Brevo Starter plan only allows 300 emails per day (or limited monthly emails depending on the plan).

My concern is:

* If I build multiple websites
* And all of them send enquiry emails
* Then the 300 email/day limit might be exceeded

So I want to understand what the best approach is in this situation.

### My Questions

1️⃣ How do platforms like WordPress or Wix allow sending enquiry emails seemingly for free?
2️⃣ Are they running their own mail servers, or are they using some other infrastructure behind the scenes?
3️⃣ Is there any reliable free method to send enquiry emails from websites without strict limits?
4️⃣ If email volume grows beyond 300 emails/day, what is the best scalable approach?

### What I Want to Achieve

My requirement is simple:

User fills form → enquiry email sent to my inbox.

But I want a solution that is:

* reliable
* scalable if I create more websites
* not very expensive
* easy to maintain

### Possible Options I’m Considering

From my research, I see a few possibilities:

* Using Brevo or another email API
* Running my own SMTP server
* Using cloud email services
* Using hosting SMTP like WordPress websites do

But I’m not sure which one is the best practice for production websites.

* Is there a cost-effective approach for enquiry-based websites?

46 Replies

@Common carp Hi everyone I have a question regarding **email sending infrastructure for websites**, and I’d appreciate guidance from people who have experience with this. ### My Current Situation I have built a **website that works as an enquiry platform**. When a user fills out a form and enters their email and requirements, I want that information to be **sent to my email inbox automatically**. Currently I am using **EmailJS**, which allows sending emails directly from the frontend. However, **EmailJS becomes expensive** when the number of emails increases. Because of that, I’m planning to move to **Brevo**. ### The Problem I’m Facing The **Brevo Starter plan only allows 300 emails per day (or limited monthly emails depending on the plan)**. My concern is: * If I build **multiple websites** * And all of them send enquiry emails * Then the **300 email/day limit might be exceeded** So I want to understand what the **best approach is in this situation**. ### My Questions 1️⃣ How do platforms like **WordPress or Wix allow sending enquiry emails seemingly for free?** 2️⃣ Are they running their **own mail servers**, or are they using some other infrastructure behind the scenes? 3️⃣ Is there any **reliable free method** to send enquiry emails from websites without strict limits? 4️⃣ If email volume grows beyond 300 emails/day, what is the **best scalable approach**? ### What I Want to Achieve My requirement is simple: User fills form → enquiry email sent to my inbox. But I want a solution that is: * reliable * scalable if I create more websites * not very expensive * easy to maintain ### Possible Options I’m Considering From my research, I see a few possibilities: * Using Brevo or another email API * Running my own SMTP server * Using cloud email services * Using hosting SMTP like WordPress websites do But I’m not sure **which one is the best practice for production websites**. * Is there a **cost-effective approach for enquiry-based websites**?
1: Wix have their own email servers or a third party SaaS and use their own domain, and the cost for that is really included in your plan
2: They might be, or they might be using AWS SES, which is really cheap at just $1/10K Emails + minor additional costs
3: Free platform have limits, like there is resend, which is really amazing but expensive at scale
4: I'd suggest use AWS SES or sendgrid, as brevo's starter plans, even if you want transactional emails only, you'll be paying for marketing emails too I guess. It might be difficult to get approval for AWS SES, but sendgrid is also a good option
if you run our own SMTP server, good luck with email getting delivered to spam and getting hard-bounce as it has no reputation
Sun bear
I've found the best way to deal with this is just to self-host a postfix send-only email server and setup your DNS records correctly.
You can buy a cheap VPS off hetzner for <$4/month to self-host it on.
I personally never had any issues with deliverability after setting everything up properly.
By default, providers would deliver email to spam
@Anay-208 By default, providers would deliver email to spam
@riský that happened in your case also, right?
Sun bear
currently around 20 a day
yeah its soooo hard to get providers to like u if ur not actually big
i havent even succeeded yet
Sun bear
I've only had problem with emails delivering when the quality of the emails was low, usually during the testing
e.g:

subject: Test
content: 123
@Sun bear currently around 20 a day
You’re basically overengineering, resend has 100/day free limit, once you reach like 50-60% of the limits, you can consider then
Sun bear
I really don't like depending on other providers as for example resend has a limit to 1 domain which was a dealbreaker to me
Sun bear
well that would actually end up being more expensive since I use this VPS for other things besides email sending...
@Sun bear e.g: subject: Test content: 123
well thats pretty obv
@Sun bear well that would actually end up being more expensive since I use this VPS for other things besides email sending...
You can use it until you reach 1K email/mo, then you can consider more options.
Use resend
3000 emails a month for free
Sorry just saw the earlier comment
Alligator mississippiensis
I've had really good experience for years now using mailgun and I can send nice html emails to myself and also to my website clients from an api endpoint. But I'm also on a legacy flex plan where I can send 1,000 email per month, and the overages are extremely minimal. Talking dollars. And so far I can do as many custom sending domains as I want. I've been very happy with mailgun. You might look at their plans and pricing to see if it makes sense for you. My submit-form api endpoint looks like this:
https://gallop.software/code/speedwell/api/submit-form
@Common carp Hi everyone I have a question regarding **email sending infrastructure for websites**, and I’d appreciate guidance from people who have experience with this. ### My Current Situation I have built a **website that works as an enquiry platform**. When a user fills out a form and enters their email and requirements, I want that information to be **sent to my email inbox automatically**. Currently I am using **EmailJS**, which allows sending emails directly from the frontend. However, **EmailJS becomes expensive** when the number of emails increases. Because of that, I’m planning to move to **Brevo**. ### The Problem I’m Facing The **Brevo Starter plan only allows 300 emails per day (or limited monthly emails depending on the plan)**. My concern is: * If I build **multiple websites** * And all of them send enquiry emails * Then the **300 email/day limit might be exceeded** So I want to understand what the **best approach is in this situation**. ### My Questions 1️⃣ How do platforms like **WordPress or Wix allow sending enquiry emails seemingly for free?** 2️⃣ Are they running their **own mail servers**, or are they using some other infrastructure behind the scenes? 3️⃣ Is there any **reliable free method** to send enquiry emails from websites without strict limits? 4️⃣ If email volume grows beyond 300 emails/day, what is the **best scalable approach**? ### What I Want to Achieve My requirement is simple: User fills form → enquiry email sent to my inbox. But I want a solution that is: * reliable * scalable if I create more websites * not very expensive * easy to maintain ### Possible Options I’m Considering From my research, I see a few possibilities: * Using Brevo or another email API * Running my own SMTP server * Using cloud email services * Using hosting SMTP like WordPress websites do But I’m not sure **which one is the best practice for production websites**. * Is there a **cost-effective approach for enquiry-based websites**?
American black bear
Create your own smtp server with a Gmail you can send something like 1k or 10k emails for free per day
And you can bypass all the dns issues
It's also extremely cheap and customizable
@American black bear Create your own smtp server with a Gmail you can send something like 1k or 10k emails for free per day
that'll limit the email address to be something like address@gmail.com ig
@Anay-208 that'll limit the email address to be something like address@gmail.com ig
American black bear
you can set up a custom domain too
@American black bear you can set up a custom domain too
thats google workspace ig
@Anay-208 thats google workspace ig
American black bear
you can dop that with any provider even outlook
justn use thier email to bypass auth bs
and use your own smtp server to send the stuff
you dohnt need extra stuff just get the name and the app password of the email and youre set'
i mean youre still using their server to send emails in a way but its very cheap
@American black bear you can dop that with any provider even outlook
Oh wait, if I'm right, its just using the same mailbox as @gmail.com with a custom domain
hostinger is like 2 dollars per month
cheap dont have to deal with the headache of config and easy to customize
ya that I know, 500/day
which is still good
American black bear
gmail i think is way more
i set up one
wait let me re check
oh shoot yeah my bad
free version is 500 recipients per day