Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

190
Views
Send Grid Email is creating a new thread after an inbound email reply

I'm using send grid to send and receive emails. Currently I'm facing an issue that is: It is creating a new email thread after every inbound reply on the existing thread. It is not preserving all the subsequent messages in the same thread. Any Idea? Anyone have access to send grid updated documentations ?

Please find my code below:

sgMail.setApiKey(apiKey);
    const msg = {
        to: lead.email,
        from: config.email,
        subject: subject,
        html: body,
        attachments: attachments
    };
    console.log('sendGrid', msg);
    return new Promise((resolve, reject) => {
        sgMail
            .send(msg)
            .then(() => {
                console.log('Email sent');
                resolve('Email sent');
            }).catch((error) => {
                console.log('error sendGrid', error.response.body);
                reject(error);
            });
    });
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!