I'm using Nodemailer and Gmail, and I would like to know if I can make an almost exactly like "reply all" using only code, as I can do myself using my gmail without coding
I read the documentation and searched the internet a lot for an equivalent question and I didn't find it
I keep the "Message-ID" and "Subject" of all e-mails I want to reply to, but I want to make a "reply all" just like gmail do (with a copy of the last e-mail text below the new message and all the original email addresses in "to" and "cc" fields automatically)
Is this possible with the Node code?
I'm trying something like this in "Message configuration":
var mailOptions = {
subject: "Re: " + emailSubject,
messageId: emailMessageId,
inReplyTo: emailMessageId,
references: emailMessageId,
headers: {
replyTo: someEmailAddress,
messageId: emailMessageId,
},
[...]
}