Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

247
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda