DEV Community

Cover image for Building background email notifications with Next.js, Resend and Trigger.dev

Building background email notifications with Next.js, Resend and Trigger.dev

Marc Seitz on January 11, 2024

What you will find in this article? Email notifications are the most common way to keep your users informed about actions taking on your...
Collapse
 
matijasos profile image
Matija Sosic

Nice one! Is this how Papermark works internally?

Collapse
 
mfts profile image
Marc Seitz

Yes one small part of it. Specifically, it’s the email that senders receive when someone visits the document

Collapse
 
clauscastillo profile image
Claus Castillo

It is a very intuitive explanation and it was very helpful! Just that there are errors in the mail template is not using the prop "name" and also the function to send the notification differs in name between the code snippets, caused me some confusion.

Collapse
 
mfts profile image
Marc Seitz

Thanks for the feedback!

Collapse
 
srbhr profile image
Saurabh Rai

I have seen papermark, and it's an excellent tool you've built. OSS for the win.
On another side note, what are your opinions on "react-email" is it stable enough?

Collapse
 
mfts profile image
Marc Seitz

react-email is amazing! can 100% recommend using it. i never created such beautiful email templates as with react-email

Collapse
 
nathan_tarbert profile image
Nathan Tarbert

Nicely detailed article using some great open source tools like Trigger.dev and Papermark.

This is a great one to bookmark.

Collapse
 
mfts profile image
Marc Seitz

Thanks Nathan πŸ’ͺ

Collapse
 
fernandezbaptiste profile image
Bap

Very cool stuff πŸ’…

Collapse
 
mfts profile image
Marc Seitz

πŸ™ŒπŸ™Œ

Collapse
 
nevodavid profile image
Nevo David

Trigger.dev and Papermark are really cool!

Collapse
 
mfts profile image
Marc Seitz

Trigger is perfect for this kind of task :)