Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

245
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda