Google Sheets Mail Merge - Email - No Addons - Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024
  • Learn how to do Google Sheets mail merge & send emails through Gmail using an HTML template. We'll be using Apps Script & JavaScript and no add-ons.
    #GoogleSheets #MailMerge #Email

ความคิดเห็น • 243

  • @brettjones8004
    @brettjones8004 3 ปีที่แล้ว +5

    I have been needing to know how to this for years. The things I have learned from these videos has saved the nonprofit I work an absurd amount of time by not having to do repetitive , automatable things like this. Thank you!

  • @marcelcharest7662
    @marcelcharest7662 3 ปีที่แล้ว +6

    You are an excellent teacher. You explain very well. The explanations are clear. The sound of your voice and your diction are excellent. Thank you for the services you render us. It's very appreciated.
    Bon baiser de Montréal

  • @rgetsy1
    @rgetsy1 2 ปีที่แล้ว

    The best explanation to date. Paid for courses that wasn't near as good as this.

  • @kylemoore3804
    @kylemoore3804 2 ปีที่แล้ว

    This entire series is AMAZING!!!! It has changed the way I do business because there are so many remedial tasks I can automate! Thank you!

  • @deals4platter
    @deals4platter 5 ปีที่แล้ว +4

    Can't wait to set this up for some upcoming projects I have. Thank you for sharing.

  • @liangmale
    @liangmale 5 ปีที่แล้ว +3

    Excellent tutorial as always, you are doing great work, please create more content like this one

  • @fttx6673
    @fttx6673 3 ปีที่แล้ว

    This is what I have been searching for for a long time

  • @isaaccruzguido592
    @isaaccruzguido592 4 ปีที่แล้ว +4

    Great Tutorial! Quick Question, if we want to CC people, how could I write it in the script?

  • @mcan543
    @mcan543 5 ปีที่แล้ว

    You are one of the best channel on TH-cam

  • @pallabkumardas6514
    @pallabkumardas6514 3 ปีที่แล้ว +2

    Thank you for this amazing tutorial. What about personalized subjects and personalized pdfs (like certificates)...?

  • @rubenmonsterman4044
    @rubenmonsterman4044 4 ปีที่แล้ว +2

    Thanks for this amazing tutorial. 1 question ..... I have a list of 100 people and I send random 10 people an e-mail. Can I get a checkpoint of 10 randompeople?

  • @WardyHoot
    @WardyHoot 4 ปีที่แล้ว +6

    A very easy to follow step by step instruction. I've used it to send out yearly and half yearly dues for a Lions service club. Excellent and highly recommended.

  • @DILEEPKUMAR-is1vi
    @DILEEPKUMAR-is1vi 3 ปีที่แล้ว +1

    Very good tutorial for custom email. Thanks a lot.

  • @tosattam
    @tosattam 4 หลายเดือนก่อน

    In this exactly same set up can we send attachments from Google drive using file id as another column in the main sheet

  • @thareqabdulaziz6564
    @thareqabdulaziz6564 3 ปีที่แล้ว +1

    great tutorial! I have a question, Is it possible if we make a button to upload a pdf file to a spreadsheet? then we can press the email button and the uploaded pdf file will be sent to the name "checked in the box.

  • @JimmySale-z3k
    @JimmySale-z3k 7 หลายเดือนก่อน

    Hey there, thanks for the info however i need to schedule emails for particular date , do you know how should I do it?

  • @meetadii
    @meetadii 4 ปีที่แล้ว

    You have great help. A lot of learning from all your tutorials. I was looking for something like this. Can we pick draft from GMail draft directly?

  • @priyankajoshi6906
    @priyankajoshi6906 4 ปีที่แล้ว +1

    Thank you for sharing. It's really helpful.

  • @ManojKumarMandal-mk2hz
    @ManojKumarMandal-mk2hz ปีที่แล้ว

    Thanks a lot, it is helping to a great extent.
    If this can be amended with file attachments in the same mail

  • @josealexandrefilho3527
    @josealexandrefilho3527 3 ปีที่แล้ว +2

    Parabéns pela aula! Fantástico!

  • @RevanthSai09-d2v
    @RevanthSai09-d2v ปีที่แล้ว

    Thank you for the amazing video really helpful. Could also help how can we add CC mail id to the same scripts while sending bulk mails.

  • @johnklaassen1260
    @johnklaassen1260 2 ปีที่แล้ว

    Thanks for the video. Do you have any trouble embedding images in the template and then having them show up when sent?

  • @tedjammers
    @tedjammers 5 ปีที่แล้ว +3

    10 out of 5 stars

  • @juzfunpartystore
    @juzfunpartystore 4 ปีที่แล้ว

    Wonderful lesson. Very useful. Thanks a lot

  • @2010Sheb
    @2010Sheb 4 ปีที่แล้ว

    Greetings, I watched your video and am delighted, I have a question when I need to transfer means, google script, formatted text to a variable like , How to do this? I just need to add hyphens as , I take the body email itself from the cell

  • @MaryTrinh-ih8fg
    @MaryTrinh-ih8fg 2 หลายเดือนก่อน

    is it possible to do this with different subject and different attachments?

  • @ardavalilable
    @ardavalilable 4 ปีที่แล้ว

    it's a great tutorial, I wonder if you can send the notifications via SMS as well, I don't mind paying for the service!

  • @swapnilsajwan322
    @swapnilsajwan322 ปีที่แล้ว

    Can we send mail merge with ATTACHMENTS? The attachments will be from google drive

  • @EduardoBicelisGarcia
    @EduardoBicelisGarcia 3 ปีที่แล้ว

    Thank you for the time you take for the videos!

    • @EduardoBicelisGarcia
      @EduardoBicelisGarcia 3 ปีที่แล้ว

      min 11:20 there is no 'row' function...

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  3 ปีที่แล้ว

      I don't understand the question.

    • @EduardoBicelisGarcia
      @EduardoBicelisGarcia 3 ปีที่แล้ว

      @@ExcelGoogleSheets thank you for answering hope not to bother you. I am just trying to learn spreadsheets. I was trying to make the video work for the 2nd (I am slow to learn) and found that error message -there is no 'row' function. I just got stuck there. Probably I'll try again tomorrow. I am sure it is my fault.

    • @EduardoBicelisGarcia
      @EduardoBicelisGarcia 3 ปีที่แล้ว

      perhaps it is that the 'row' no longer exist as a function.

    • @EduardoBicelisGarcia
      @EduardoBicelisGarcia 3 ปีที่แล้ว

      ahh, I marked it with the min 11:20 so I could find it next time.

  • @ajayf
    @ajayf 4 ปีที่แล้ว +1

    Hi, my mails are being received blank except the words "[object Object]". Pls Help

  • @ravinalravisjr.4674
    @ravinalravisjr.4674 3 ปีที่แล้ว

    Thanks for this,
    May I ask if there is any way I can add attachments (taken from my Google drive) to this mail merge, wherein each email will receive different files from each other?

  • @sketzhbookid
    @sketzhbookid 3 ปีที่แล้ว

    great tutorial.
    how to combine it with google form, when "submit" directly send to the person who submitted it

  • @yasserquwaider4779
    @yasserquwaider4779 3 ปีที่แล้ว

    Very informative..!! It worked for me. Thanks alot ! SUBSCRIBED!

  • @StephenDysonUK
    @StephenDysonUK 4 ปีที่แล้ว

    This is great. Thanks. But is their a solution for the step before which brings your emails from gmail into google sheets automatically (respecting your filters and labels)

  • @CreativeSolutionExpert
    @CreativeSolutionExpert 5 ปีที่แล้ว

    Thanks for another great tutorial

  • @vanusafeitosa3234
    @vanusafeitosa3234 3 ปีที่แล้ว +1

    data.forEach doesn't work, so I use .map and work, very thanks

    • @menuts7526
      @menuts7526 2 ปีที่แล้ว

      data.map it's work!, thank you so much.

  • @jakobfiler7225
    @jakobfiler7225 4 ปีที่แล้ว

    is there an easy way to populate the cell value to confirm an email has been sent for the rows you have checked. So, if you want to send the email to a couple of people first, then when you return to send it to the others you will see that some people have already been sent the email?

  • @lokanethracharyakn
    @lokanethracharyakn 5 หลายเดือนก่อน

    Can you help me with adding the font edit , my aim is to change the words to bold letters

  • @shailjadav3147
    @shailjadav3147 4 ปีที่แล้ว +1

    Thanks man !

  • @jordanwille6579
    @jordanwille6579 4 ปีที่แล้ว

    So good. Thank you!

  • @executeII
    @executeII 4 ปีที่แล้ว

    Thank you so much, for this.

  • @netboy1102
    @netboy1102 5 ปีที่แล้ว +9

    I'd like to learn how to generate a pdf to be attached into the mail. Without using addon

    • @netboy1102
      @netboy1102 4 ปีที่แล้ว

      @Vivek Martin Great

  • @AbeNajiD
    @AbeNajiD 4 ปีที่แล้ว

    thanks for sharing, but i have question, how can add the attachment, and the attacment was different for different receiver...

  • @changanu
    @changanu 4 ปีที่แล้ว

    can we create a delay between emails or can we schedule them in the script?
    Thank you

  • @alexahavounson1628
    @alexahavounson1628 4 ปีที่แล้ว +1

    data.forEach( function(row){} not working anymore....whats the alternative

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 ปีที่แล้ว

      forEach should work the same way.

    • @benoitdeclercq925
      @benoitdeclercq925 3 ปีที่แล้ว +1

      @@ExcelGoogleSheets I ve got the same problem, data.forEach doesnt t work : Uncaught TypeError: a.forEach is not a function. What i can do ?

    • @shirleymkcscc7901
      @shirleymkcscc7901 3 ปีที่แล้ว

      could you share if you have fixed it? I have same problem.

  • @learningbegins
    @learningbegins 4 ปีที่แล้ว +1

    Thanks a lot!!

  • @mchangflor
    @mchangflor 4 ปีที่แล้ว

    I have a question. This sends to one recipient. What is the additional code I need to add to email a second or third recipient (ie. CC'd) for the same email being sent?

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 ปีที่แล้ว

      You should be able to comma separate your emails

  • @smartcrow1291
    @smartcrow1291 4 ปีที่แล้ว

    hi dear, can we use AWS SES to send email from our custom email address with app script

  • @drewhutchison1756
    @drewhutchison1756 2 ปีที่แล้ว

    thank you, how can you have the script pause for 10 seconds between executions?

    • @drewhutchison1756
      @drewhutchison1756 2 ปีที่แล้ว

      also btw guys I just figured out you can add a variable to your subject line by add + row[your variable here]
      like this: "Checking in with you regarding "+ row[account number]

    • @drewhutchison1756
      @drewhutchison1756 2 ปีที่แล้ว

      nevermind i found it: Utilities.sleep(10000);
      if this isn't good please correct me, it worked for mine
      awesome video ty

  • @netboy1102
    @netboy1102 5 ปีที่แล้ว

    thanks for another nice video

  • @priya946
    @priya946 4 ปีที่แล้ว +1

    It's wonderful video by it's not sending HTML part of message. Only "your email doesn't support email" is been sent to the customer

    • @RambabuJalliBSNL
      @RambabuJalliBSNL 4 ปีที่แล้ว

      It is absolutely working, please check where did u do the mistake.

  • @rickpionkowski5082
    @rickpionkowski5082 3 ปีที่แล้ว

    Is it easy to add a CC: line to the html with one or more names?

  • @juzfunpartystore
    @juzfunpartystore 4 ปีที่แล้ว

    Hi, I tried some of the codes but got stuck. The following are the problems
    I am not able to add Google Script as add on in my sheet. It is not appearing in the search at all.
    So the command ".getActivSpreadsheet().getSheetByName("Customers"); is not working. I get the following error - TypeError: Cannot call method "getSheetByName" of null. (line 7, file "Code")
    Can you pls help me to rectify. Also if you can explain the function of each command it would be good for people like me.
    Thanks

  • @rugvedhbhamre7151
    @rugvedhbhamre7151 ปีที่แล้ว

    How do I get a Google excel sheet add in it.

  • @Luckysoul3322
    @Luckysoul3322 3 ปีที่แล้ว

    Hi, can we use this email app for outlook? Can you please suggest me?

  • @nicolasbosonispinetto4164
    @nicolasbosonispinetto4164 3 ปีที่แล้ว

    How can you fix the Script delayed (1.0 min) waiting for quota. i can't figure it out with Memory Properties.

  • @stanleyphilippe
    @stanleyphilippe 4 ปีที่แล้ว

    Hi how to record a macro in which I have to use a published google addon?

  • @andreaguerri4886
    @andreaguerri4886 4 ปีที่แล้ว

    Hi, I have a problem, what's the error 429? I have a code that works with cycle to find if an employee is active at work on that day, but after sending several emails, he gets stuck with this code, how come? Thanks so much

  • @valentino0472
    @valentino0472 5 ปีที่แล้ว

    Hi.. is it possoble to create a script that will parse gmail into google sheets? Thank you in advance

  • @therealjamesmccrary
    @therealjamesmccrary 4 ปีที่แล้ว

    Worked through it, but stuck at running the first log for data. It is only showing one item from the range I defined and there should be two. Any thoughts?

    • @therealjamesmccrary
      @therealjamesmccrary 4 ปีที่แล้ว +1

      Got it. I typed .getValue instead of .getValues

  • @slowmov5659
    @slowmov5659 4 ปีที่แล้ว +1

    hey man thanks for the video, im getting this error tho and im unsure how to fix it ?
    SyntaxError: Unexpected token ';' (line 35, file "Code"),
    same code and everything but few more variables

    • @InsideMyWall
      @InsideMyWall 3 ปีที่แล้ว

      @Thierry Dion im having similiar problem with an = but Im declaring variables with it. SyntaxError: Unexpected token '=' (line 32, file "Code")

  • @vishalmarwaha7474
    @vishalmarwaha7474 5 ปีที่แล้ว

    Hi Can you please help me out with exporting email subject lines from Gmail App using App Scripting? Please advise or please make a new session about this.

  • @rangwalacreations9612
    @rangwalacreations9612 4 ปีที่แล้ว

    what does this mean "Exception: Invalid argument: : Invalid To header (line 43, file "Code")"?

  • @boidey
    @boidey 4 ปีที่แล้ว

    I dont get the body of the email shows in my email. I receive emails empty. what could be wrong?

  • @raczyk
    @raczyk 4 ปีที่แล้ว

    Can you sent email via outlook using google calc?

  • @lashramtinilam9078
    @lashramtinilam9078 3 ปีที่แล้ว

    So we still need to do the script ?

  • @ta-rique
    @ta-rique 3 ปีที่แล้ว

    Script function sendMail could not be found..why so?

  • @FSWML
    @FSWML ปีที่แล้ว

    Can we have a video to automate WhatsApp messages via Google App Script & Google Sheets?

  • @alexahavounson1628
    @alexahavounson1628 4 ปีที่แล้ว

    Thanks a lot sweety!

  • @rangwalacreations9612
    @rangwalacreations9612 4 ปีที่แล้ว

    how to get The Email Sent column will update with the message status.

  • @autoform6246
    @autoform6246 3 ปีที่แล้ว

    is there any link to this script ? with the file example?

  • @dsky6689
    @dsky6689 5 ปีที่แล้ว

    Thanks👍🏼

  • @sepperl8200
    @sepperl8200 4 ปีที่แล้ว

    thx great!

  • @curiouspie181
    @curiouspie181 3 ปีที่แล้ว

    How can I add cc or bcc? - Thanks for this view. So helpful

    • @martinpollola4784
      @martinpollola4784 3 ปีที่แล้ว

      This should work. GmailApp.sendEmail(recipient, subject, body, {cc: ccmail@abc.com, cco: ccomail@abc.com})
      More info here: developers.google.com/apps-script/reference/gmail/gmail-app#sendEmail(String,String,String,Object)

  • @saisowmyapuvvada3019
    @saisowmyapuvvada3019 3 ปีที่แล้ว

    When I try to use the script tags for variables like fn, ln, I am getting 'unexepcted identifier' error, if I remove them, it not throwing error, but not sending the personalized email. Can anyone help me with this

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  3 ปีที่แล้ว

      Make sure your function create and evaluate the template.

  • @hanifanramadhan4548
    @hanifanramadhan4548 4 ปีที่แล้ว

    May i ask again sir, i do work on google sheets mail merge and send email to, but i try to give some change on the script, i need send the picture on my html gmail, the picture i take from uploader from googleform and directly land on my cell like this url : drive.google.com/open?id=xxx and i convert to drive.google.com/uc?export=view&id=xxxx and show in the html script with tag like this

    • @hanifanramadhan4548
      @hanifanramadhan4548 4 ปีที่แล้ว

      this is the url when i was succesfully show my pict on the html email :
      and this is the other one when i fail to try :

  • @RedBurningSoul
    @RedBurningSoul 5 ปีที่แล้ว

    thank you

  • @bimbelnurulfikribandungray9072
    @bimbelnurulfikribandungray9072 3 ปีที่แล้ว

    for tutorials from google spreadsheet to whatsapp?

  • @janlebrudo5422
    @janlebrudo5422 4 ปีที่แล้ว

    The data.forEach does not work and its not even in the suggested functions after you put "." is updated?

    • @menuts7526
      @menuts7526 2 ปีที่แล้ว

      Change data.forEach to data.map

  • @easahappy4419
    @easahappy4419 3 ปีที่แล้ว

    Can I have copy for this ?

  • @marilynnwhitmore5446
    @marilynnwhitmore5446 4 ปีที่แล้ว

    I get the error. TypeError data.for each is not a function. How do I fix?

  • @12chachachannel
    @12chachachannel 10 หลายเดือนก่อน

    Why not use Google Doc as a template??? You can export Google Doc to HTML

  • @kellen3743
    @kellen3743 4 ปีที่แล้ว

    Everything was going great and I finished but when I ran it after completing all the steps it said ReferenceError: emailTemp is not defined (line 15, file "Code") my line 15 is the same as yours. I rewrote it, checked mine with yours but can't seem to find the problem. this is the code btw- emailTemp.uni = row[university] uni is in my email format thing and university is written down as row 0 so i dont get it

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 ปีที่แล้ว

      If you get that error that means the previous lines that define that variable didn't work.
      so check
      var emailTemp = blah blah line

    • @nitovkolivanovmeus199
      @nitovkolivanovmeus199 4 ปีที่แล้ว

      @@ExcelGoogleSheets I've done the same as you, but there is a problem when sending email, the html email is not sent but only "Your email doesn't support email" is sent to the recipients. How to solve this problem, please help

  • @hanifanramadhan4548
    @hanifanramadhan4548 5 ปีที่แล้ว

    sir, i have some problem, after runing the script as like you, i just found " you email dont support HTML" in my email?
    how i can fix this problem?

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  5 ปีที่แล้ว

      For emails that don't support HTML you'll have to create a text email version and place it isntead of " you email dont support HTML" message.

  • @rangwalacreations9612
    @rangwalacreations9612 4 ปีที่แล้ว

    how to know that they have received the email without asking them? like a column which shows sent or not sent msg.

    • @netboy1102
      @netboy1102 4 ปีที่แล้ว

      check your *sent* folder..

    • @ConsulthinkProgrammer
      @ConsulthinkProgrammer 3 ปีที่แล้ว

      you can add more script to create an update status based on "sent" email in your spreadsheet

  • @varunp9007
    @varunp9007 3 ปีที่แล้ว

    How to include a table in the html file

  • @practicasde7872
    @practicasde7872 4 ปีที่แล้ว

    how to add a pdf file and send to email, thanks

  • @alexahavounson1628
    @alexahavounson1628 4 ปีที่แล้ว

    I putted exact name of the sheet but not working

  • @Ankit_biharVlogs
    @Ankit_biharVlogs 4 ปีที่แล้ว

    How to add attachments in this?

  • @2010Sheb
    @2010Sheb 4 ปีที่แล้ว +1

    I can’t find information about , can someone help?

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 ปีที่แล้ว +1

      To be honest, I don't understand what you're asking.

    • @2010Sheb
      @2010Sheb 4 ปีที่แล้ว

      @@ExcelGoogleSheets where to find information about how this thing works.
      // A template which evaluates to whatever is bound to 'foo'.
      var template = HtmlService.createTemplate('');
      template.foo = 'Hello World!';
      Logger.log(template.evaluate().getContent()); // will log 'Hello World!'

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 ปีที่แล้ว +1

      This video covers everything there is to know about it th-cam.com/video/f9dqsHDrQCc/w-d-xo.html

    • @2010Sheb
      @2010Sheb 4 ปีที่แล้ว

      Learn Google Spreadsheets thx a lot

  • @rangwalacreations9612
    @rangwalacreations9612 4 ปีที่แล้ว

    what if some rows doesn't have email address?

    • @netboy1102
      @netboy1102 4 ปีที่แล้ว

      then you have to filter the data, just like the last part about the checkbox from the video. (return r[4] == true && r[3] !==""){}
      26:35

  • @relaxinggospelmusic2421
    @relaxinggospelmusic2421 7 หลายเดือนก่อน

    😘😘😘

  • @harrismallick5229
    @harrismallick5229 3 ปีที่แล้ว

    Share the code

  • @CKBsolution
    @CKBsolution 4 ปีที่แล้ว

    I'm trying to Add " replyTo: " @gmail.com"
    But its not working.

    • @netboy1102
      @netboy1102 4 ปีที่แล้ว

      replyTo:"youremail"

  • @abdullahquhtani4247
    @abdullahquhtani4247 5 ปีที่แล้ว +3

    Great but it would be greater if you extend it more to add these following task:
    1- add one field so the script can write a value in after sending each email so I can know who I sent email to and didn’t.
    2- how to write values in email body in an alternating colored rows in a table.
    3- make an option to trigger the script after each submission if I use it with google forms.
    I’m sure most ppl need these complete in one script instead of using multi scripts.
    Thank you for your appreciated efforts.

  • @fantouch
    @fantouch 4 ปีที่แล้ว

    Hello, I have been having problems figuring out the following. My objective is when the email has been sent it in the last column written "True", so I will use a trigger activate for every change in the sheet, so the lines with true will be out of the filter to send the mails. I tried to use the variable row that you use in line 19 but is an array with all the information in the row, not the number. Any pointer will be great. Thank you a lot

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 ปีที่แล้ว

      This video should help you th-cam.com/video/r9uU_KwGgzQ/w-d-xo.html

    • @fantouch
      @fantouch 4 ปีที่แล้ว

      @@ExcelGoogleSheets kind of work, there is the information that I need but I had problems with the var vs const, and the fact that getValues is object and getDisplayValues is a string, I didn't understand why with those changes the script didn't work. This time I loose

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 ปีที่แล้ว

      lol now you sound like a programmer. Every day you loose until the next day :)

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 ปีที่แล้ว

      You can just use var instead of const

  • @66Komodo
    @66Komodo 5 ปีที่แล้ว

    thank you

  • @stefanocancinovargas7870
    @stefanocancinovargas7870 4 ปีที่แล้ว +3

    I need attach different PDF file for each e-mail, help me please.

  • @mithunmusabbir9444
    @mithunmusabbir9444 5 ปีที่แล้ว +3

    I don't have words to thank u enough for this video.. specially the last part.. awesome...

  • @lexiriam
    @lexiriam 6 หลายเดือนก่อน +1

    How can this video only have 1.5k thumb-ups? It should be in the millions! Thank you for your video. It was perfect and exactly what I needed. #Subscribed!