Friday, 12 April 2019

Send and receive emails in a Node.js app

Hi, I'd like to include an email inbox in a CRM app I'm building.I require the following:Each user is able to send emails from their own domain (e.g. user John sends emails from hello@johnswebsite.com, user Jane sends emails from hello@janeswebsite.com). I'm totally fine with only supporting Google Apps registered emails at this stage.Multiple 'From' email address support. E.g. users Bob and Sarah who are registered in the app under Widgets Pty Ltd can each individually have their email addresses set as bob@widgets.com and sarah@widgets.com, and each of them is able to send and receive emails from customersupport@widgets.com)Simple setup for users. I've seen some guides on sending emails from Gmail within a node app however the user will need to go into Google Developer Console, create a new project, create a new API, etc. I can see this being an issue with less tech-savvy users. I would prefer if users could simply paste an API key/client secret/username and password/etc into the app without needing to do any advanced configuration with their SMTP provider.Able to send both plaintext and HTML emailsAble to create plaintext and HTML templatesUsers have access to their email inbox within the node app, with related messages grouped together as threadsAbility to incorporate automated emails (e.g. automatically send an email when users forget their sign-in password)Any tips? I'd prefer not to host my own SMTP server and instead use something like Google Apps instead (I've tried Sendgrid however it's totally useless as everything goes to spam). Is this possible or are my needs too high and I'll need to create something totally custom?

Submitted April 13, 2019 at 05:48AM by stupid-sexy-jake

No comments:

Post a Comment