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

240
Views
How i can get my signatures from my gmail account? NodeJS

Someone can helm me? I need to get(fetch) signature from my gmail in node js,how signature looks like in gmail. Maybe u know some libs or something else

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I believe your goal is as follows.

  • You want to retrieve the signature of Gmail as follows. The image is from your question.

  • You want to achieve this using googleapis for Node.js.

In this case, how about the following sample script?

Sample script 1:

Please use auth in your script. This sample script uses the method of users.settings.sendAs.list.

const gmail = google.gmail({ version: "v1", auth });
const res1 = await gmail.users.settings.sendAs.list({ userId: "me" }).catch((err) => console.log(err));
if (!res1) return;
console.log(res1.data);

Sample script 2:

Please use auth in your script. This sample script uses the method of users.settings.sendAs.get .

const gmail = google.gmail({ version: "v1", auth });
const res2 = await gmail.users.settings.sendAs.get({ userId: "me", sendAsEmail: "### your Email address ###" }).catch((err) => console.log(err));
if (!res2) return;
console.log(res2.data);

Note:

  • This answer supposes that you have already been able to get values from Gmail using Gmail API. Please be careful about this.

References:

  • Method: users.settings.sendAs.list
  • Method: users.settings.sendAs.get
  • Node.js quickstart for Gmail API
  • google-api-nodejs-client
about 4 years ago · Juan Pablo Isaza Report
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!