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

202
Vistas
Automating emails on Google sheets

I am trying to automate sending emails on Google sheets using Mailapp. My problem is the following:

I need to include the gmail signature in the email.

When using Mailapp, the pre-defined signature on gmail does not appear. Is there any solution for that?

The other solution, as I found online, is using HTML. I need to develop the email automation for many users on a single google sheet and need to include Linkedin links. My issue here is that I am not able to assign HTML's 'href' as a variable (variable that is in fact a cell containing the linkedin link.

JS:

var linkedin_link = SpreadsheetApp.getActiveSheet().getRange(1, 1).getValue();
var templ = HtmlService.createTemplateFromFile("MailTemplate");
var message = templ.evaluate().getContent();
MailApp.sendEmail({
        to: "xxx@gmail.com",
        subject: "Automation",
        htmlBody: message,
        });

HTML file:

<!DOCTYPE html>
<html>
  <head>
    <base target="_top">
  </head>
  <body>
    <a href="https://linkedin.com/" + linkedin_link >LINKEDIN</a>
  </body>
</html>

If anyone could help it would be great! Thanks!

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

If you enable Gmail advance API (under services) you can use this to get the signature as HTML. Then you can use this in your own html template:

function readCurrentOutOfOffice(){
  console.log(Gmail.Users.Settings.getVacation('user@company.com'))
}
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