{"id":29070,"date":"2017-01-31T21:01:16","date_gmt":"2017-01-31T13:01:16","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=29070"},"modified":"2022-08-06T20:56:40","modified_gmt":"2022-08-06T12:56:40","slug":"apps-scripts-gmail-users","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/apps-scripts-gmail-users\/","title":{"rendered":"19 Google Apps Scripts for Pro Gmail Users"},"content":{"rendered":"<p>Google Apps Scripts help you <strong>do things on the Google\u2019s platform<\/strong> that would otherwise be impossible <strong>without writing large chunks of code <\/strong>. It\u2019s an easy, beginner-friendly, <a href=\"https:\/\/www.hongkiat.com\/blog\/javascript-jargon\/\">JS-like language<\/a> that runs in the cloud and <strong>lets you code, script and automate Google services <\/strong>.<\/p>\n<p>Gmail, though known as the <strong>one of the most powerful mail services<\/strong>, isn\u2019t pain-free, especially for <a href=\"https:\/\/www.hongkiat.com\/blog\/power-gmail-user\/\">the power users<\/a>, who would want to <strong>save attachments in Drive, schedule emails, batch delete emails<\/strong> etc.<\/p>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/google-mail-productivity-tools\/\">20+ Browser Extensions For Better Gmail Experience<\/a>\n\t\t\t\t<\/p>\n<p>Well, the good news is that <strong>now you can do all these and a lot more using Google Apps Scripts<\/strong> to ease your digi-life. Let\u2019s take a look at these helpful scripts that Gmail users can benefit from.<\/p>\n<h3><a target=\"_blank\" href=\"https:\/\/code.google.com\/archive\/p\/gmail-delay-send\/wikis\/GmailDelaySendInstall_8.wiki\" rel=\"noopener\">Schedule emails to send in future<\/a><\/h3>\n<p>This script configure emails to <strong>auto-send them at a later point<\/strong> of time. The script uses <strong>your Gmail account (you@gmail.com) to send scheduled emails<\/strong>, hence you don\u2019t lose your identity, and the recipient hardly knows that it\u2019s sent by an automated script. Internally, it uses <strong>Gmail\u2019s labels<\/strong> to mark the emails to be scheduled.<\/p>\n<p>This script can help you in situations when you need to <strong>send a reminder to your team of an upcoming meeting<\/strong> or workshop, schedule greeting emails for birthdays or other events, etc. Moreover, you can <strong>schedule work emails for the time when you\u2019d be offline or on vacation<\/strong>.<\/p>\n<h3><a target=\"_blank\" href=\"https:\/\/gsuite-developers.googleblog.com\/2011\/07\/gmail-snooze-with-apps-script.html\" rel=\"noopener\">Snooze emails <\/a><\/h3>\n<p>This script helps you to answer your emails at your preferred time without having them all in your inbox all the time. The script, internally, archives snoozed emails for the time and <strong>makes them automatically reappear<\/strong> in your inbox <strong>as unread\/new messages after the set duration<\/strong>. Personally, it sounds like the tool we were waiting for.<\/p>\n<p>This script helps you <strong>manage and prioritize emails<\/strong>, especially if you receive them in large volumes, making email management as hard as <a href=\"https:\/\/www.hongkiat.com\/blog\/online-privacy-security-tips-tricks\/\">fighting online privacy<\/a>. Snoozing emails <strong>keeps away unnecessary mails till the time you want them hidden<\/strong>, hence a cleaner inbox.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/apps-scripts-gmail-users\/snooze-emails.jpg\" width=\"992\" height=\"532\" alt=\"Snooze emails in Gmail\"><\/figure>\n<h3><a target=\"_blank\" href=\"https:\/\/gmail.googleblog.com\/2012\/04\/know-your-gmail-stats-using-gmail-meter.html\" rel=\"noopener\">Generate Inbox statistics report<\/a><\/h3>\n<p>Generates and <strong>shows a report<\/strong> featuring various metrics based on your email conversations. Though it\u2019s similar to <a href=\"https:\/\/www.google.com\/settings\/activity\" rel=\"nofollow\">Google Account Activity<\/a>, you can also extend this script to suit your requirements. The generated report <strong>includes statistics and graphs for the emails sent and received<\/strong> along with the top recipients and much more things.<\/p>\n<p>This script <strong>keeps a record of your email account\u2019s usage<\/strong> and helps you to understand or improve your email activities per your work requirements. Moreover, it also <strong>auto-sends an email to you with the attached report<\/strong>barworks quite straight and automatic, as expected.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/apps-scripts-gmail-users\/gmail-meter-statistics.jpg\" width=\"1000\" height=\"562\" alt=\"Generate Gmail's Statistics\"><\/figure>\n<h3><a target=\"_blank\" href=\"https:\/\/github.com\/pixelcog\/gmail-to-pdf\" rel=\"noopener\">Convert Gmail messages to PDF<\/a><\/h3>\n<p>This script <strong>auto-saves the PDF versions<\/strong> of your conversations in your Drive and can be extended to convert all your mails. The included examples show as how to <strong>convert starred or unread messages<\/strong> from inbox. However, the script does <strong>require some work if you wish to extend or configure it<\/strong>.<\/p>\n<p>This script is most helpful for <strong>people who have thousands of emails<\/strong> (all important enough to keep a copy of), but <strong>wish to use a cleaner inbox<\/strong>. With the help of this script, they can <strong>move old or less-used mails to the Drive as PDFs<\/strong>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/apps-scripts-gmail-users\/convert-email-pdf.jpg\" width=\"1000\" height=\"567\" alt=\"Convert Emails to PDF\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.labnol.org\/code\/19712-mark-archived-gmail-read\">Mark archived messages as read<\/a><\/h3>\n<p>This script scans all the emails in your inbox every minute for archived yet unread messages (<strong>placed anywhere but inbox<\/strong>) and marks them read. You can also extend it to work on emails with custom labels only by replacing <code>label:unread -label:inbox<\/code> with <code>label:CUSTOM-LABEL -label:inbox<\/code>.<\/p>\n<p>This script saves your time and <strong>relieves you from checking or re-visiting unwanted emails<\/strong>baryou can just archive them once to get rid of them easily. It\u2019s most helpful for notification or reports emails like from banks, service operators, etc. that are important to keep yet don\u2019t need you to check them.<\/p>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/helgeklein.com\/blog\/2015\/02\/extracting-all-email-addresses-from-a-gmail-label\/\">Extract all email addresses<\/a><\/h3>\n<p>The script <strong>gets all the email addresses from all of your messages<\/strong> having a particular label in your Gmail inbox, thus helping you know who you contact. It can process large volumes of emails within seconds and can <strong>list the sender\u2019s name and the first communication\u2019s details<\/strong> with the sender.<\/p>\n<p>The script helps you in getting all the email addresses from a specific label <strong>for sending meeting or party invitations to a group easily<\/strong>. Moreover, if you have multiple businesses and use labels to manage your inbox, you can <strong>quickly get emails of everyone related to one of your teams<\/strong> or businesses using this simple script.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/apps-scripts-gmail-users\/extract-emails.jpg\" width=\"589\" height=\"483\" alt=\"Extract emails in a Sheet\"><\/figure>\n<h3><a target=\"_blank\" href=\"https:\/\/www.johneday.com\/422\/time-based-gmail-filters-with-google-apps-script\" rel=\"noopener nofollow\">Create time-based Gmail filters<\/a><\/h3>\n<p>This script extends on Gmail\u2019s filter capabilities and <strong>moves, marks, labels or deletes your inbox messages automatically<\/strong> (yes, even if you\u2019re not online) and helps prevent clogging your inbox. It <strong>filters messages based on given conditions<\/strong> and applies the configured rules on them.<\/p>\n<p>It is useful in scenarios <strong>where you\u2019re not happy with Gmail\u2019s native filters and rules<\/strong>, and wish to have better control over incoming messages. For example, the script can be pretty helpful when you <strong>want to delete all meeting reminders automatically after they\u2019re a week old<\/strong>.<\/p>\n<h3><a target=\"_blank\" href=\"https:\/\/medium.com\/@fw3d\/a-cleaning-robot-for-your-gmail-inbox-f44c01306ea2#.pxcodswry\" rel=\"noopener nofollow\">Auto-clean your Gmail inbox<\/a><\/h3>\n<p>The script <strong>cleans bundles of junk emails<\/strong> (after a specified time) from your inbox, and thus helps minimize space usage. These junk mails may include newsletter subscriptions, advertisements or promotional messages, etc.<\/p>\n<p>The script helps you exempt yourself from cleaning up your mailbox every now and then. Moreover, deleting only given-duration-old mails <strong>ensures you\u2019ve already peeked through them and had side-kept the emails you require<\/strong>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/apps-scripts-gmail-users\/clean-inbox-gmail.jpg\" width=\"1000\" height=\"230\" alt=\"Clean your Inbox\"><\/figure>\n<h3><a target=\"_blank\" href=\"https:\/\/jonathan.kim\" rel=\"noopener\">Find unanswered emails<\/a><\/h3>\n<p>Finds out all the <strong>emails which didn\u2019t get any replies<\/strong> from the time you sent the last message in any of that conversation(s). For its working, it creates and manages two labels, \u2018<strong>No Response<\/strong>\u2018 for emails which have no reply and \u2018<strong>Ignore No Response<\/strong>\u2018 for emails those don\u2019t require any response.<\/p>\n<p>The script benefits you by <strong>saving you from manually finding the emails for which you\u2019re expecting a response <\/strong>. Moreover, the script works in-house, can be extended as per your needs, works on emails already sent, and has zero security risk as no third party is involved.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/apps-scripts-gmail-users\/emails-with-no-replies.jpg\" width=\"1000\" height=\"472\" alt=\"Find unanswered emails\"><\/figure>\n<h3><a target=\"_blank\" href=\"https:\/\/www.labnol.org\/internet\/advanced-gmail-filters\/4875\/\" rel=\"noopener\">Set advanced Gmail filters<\/a><\/h3>\n<p>Extends on Gmail\u2019s native filters and helps you set up <strong>advanced filters, which are more customizable<\/strong> than Gmail\u2019s filters. Mails having numerous attachments, a large number of receivers, etc., are probably spam but aren\u2019t tracked in Gmail by default. Using a Google Sheet, <strong>this script helps you move or get rid of such emails by applying filters on them<\/strong>.<\/p>\n<p>The script works automatically on schedule (almost every minute) and keeps <strong>tracking and filtering incoming mails according to your configuration<\/strong>. It\u2019s most helpful for heavy users (bloggers, publishers, advertisers, marketers, etc.) who receive lots of emails per day that are <strong>hard to manage manually<\/strong>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/apps-scripts-gmail-users\/advanced-gmail-filters.jpg\" width=\"846\" height=\"562\" alt=\"Set advanced Gmail filters\"><\/figure>\n<h3><a target=\"_blank\" href=\"https:\/\/developers.google.com\/apps-script\/articles\/mail_merge\" rel=\"noopener nofollow\">Do simple Mail Merge<\/a><\/h3>\n<p>Allows using Mail Merge with Gmail (that\u2019s not possible otherwise) to <strong>send personalized emails to masses<\/strong> using the contact information in a Google Sheet. You can easily extend it to include <strong>more fields as per your needs and use those contact fields<\/strong> in your mail (as variables).<\/p>\n<p>With <strong>no official support for Mail Merge in Gmail<\/strong>, this script proves quite handy for everyone, including marketers who regularly send formatted emails to a large number of people, say greeting mails, notifications, or proposal mails, etc. <strong>This script saves your time and makes you more productive<\/strong>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/apps-scripts-gmail-users\/simple-mail-merge.jpg\" width=\"617\" height=\"517\" alt=\"Simple Mail Merge\"><\/figure>\n<h3><a target=\"_blank\" href=\"https:\/\/gist.github.com\/jceresearch\/5755030\" rel=\"noopener\">Create a message digest<\/a><\/h3>\n<p><strong>Creates a summary of your Gmail conversations <\/strong>by going through all your emails in the inbox using a search query (based on time and label). The script <strong>assembles all of them into a single email<\/strong> and sends the digest to the set email address, say to your manager, who seeks all conversations of the day.<\/p>\n<p>If you wish to query or filter emails, change the <code>query<\/code> variable in this script according to your need. It\u2019s especially beneficial for people having multiple accounts for personal, work, temporary, etc., and <strong>wish to receive a consolidated email for each of the accounts in their primary inbox.<\/strong><\/p>\n<h3><a target=\"_blank\" href=\"http:\/\/www.labnol.org\/internet\/sort-gmail-by-size\/\" rel=\"noopener\">Sort messages by size<\/a><\/h3>\n<p><strong>Sorts your emails (including their attachments) by size<\/strong> (that\u2019s not possible natively in Gmail) and shows them in a Google Sheet, along with their size and other basic details. This script connects to Gmail and <strong>computes the sizes of individual messages<\/strong> and lists them down for you. Please follow the instructions in the link to get this up and to run.<\/p>\n<p>This script <strong>helps in filtering the bulky emails so that you can delete emails with big attachments to save storage<\/strong>, and is extremely helpful for the people who use the free edition of Gmail and wants to free up some space.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/apps-scripts-gmail-users\/sort-emails-by-size.jpg\" width=\"616\" height=\"376\" alt=\"Sort emails by size\"><\/figure>\n<h3><a target=\"_blank\" href=\"https:\/\/www.labnol.org\/internet\/advanced-gmail-search\/21623\/\" rel=\"noopener\">Search mails using Regex<\/a><\/h3>\n<p>Allows making <strong>complex searches using regular expressions<\/strong> in Gmail. The script <strong>searches all your emails to find matches<\/strong> and uses a Google Sheet to store and show all the successful results to you. If you\u2019re unsure about Regex, don\u2019t worry, you can <a href=\"https:\/\/www.hongkiat.com\/blog\/getting-started-with-regex\/\">learn Regex<\/a> easily.<\/p>\n<p>This script helps you in searching emails in the geek way, and <strong>saves your time by refraining you from checking out every mail to find the right one<\/strong>. Moreover, it\u2019s more powerful than Gmail\u2019s basic search functionality, as the latter doesn\u2019t support Regex.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/apps-scripts-gmail-users\/advanced-gmail-search.jpg\" width=\"711\" height=\"292\" alt=\"Advance Search using Regex\"><\/figure>\n<h3><a target=\"_blank\" href=\"https:\/\/gist.github.com\/gene1wood\/0f455239490e5342fa49\" rel=\"noopener\">Batch delete emails<\/a><\/h3>\n<p>Allows <strong>deleting bulks of emails from your Gmail mailbox, which is otherwise not possible<\/strong> (you get an error if you try to do it). Using this script, you can easily <strong>delete around 500 emails in one go<\/strong>, and it can also be triggered\/scheduled to run automatically. Do replace the code <code>label:inbox from:<\/code><code>user@example.com<\/code> (your email), as shown in the respective link.<\/p>\n<p>This script helps you in situations <strong>when your inbox is almost full, and you need to delete lots of emails<\/strong> to fix space issues. Moreover, the code is also helpful at times when you wish to <strong>delete unnecessary emails<\/strong> like meeting invitations, news and newsletters, expired offers, coupons etc.<\/p>\n<h3><a target=\"_blank\" href=\"https:\/\/gist.github.com\/kshwetabh\/4751989\" rel=\"noopener\">Set reminder in calendar<\/a><\/h3>\n<p><strong>Creates an event reminder in your Google Calendar<\/strong> using any mail in your inbox. Using it, you can simply give any mail a particular label, and the mail would become a new reminder in your calendar. It makes it easy to <strong>keep track of important emails and also to set goals\/schedules for yourself<\/strong> (say for event invites) more quickly than just using Gmail.<\/p>\n<p>You can also <strong>set the reminder duration and calendar as per your preference<\/strong>. Don\u2019t forget to change the <code>calendarName<\/code>, <code>reminderLabel<\/code> and <code>reminderDuration<\/code> in the script with your own information.<\/p>\n<h3><a target=\"_blank\" href=\"https:\/\/gist.github.com\/andrewmwilson\/5cab8367dc63d87d9aa5\" rel=\"noopener\">Send emails to Slack<\/a><\/h3>\n<p><strong>Forwards emails to a Slack user or channel<\/strong>. This script searches through your Gmail inbox to look for the right emails and sends them to Slack using its webhooks. For it to work, <a href=\"https:\/\/www.hongkiat.com\/blog\/send-messages-to-slack\/\">create a Slack Webhook<\/a>, and a label in your inbox. Then <strong>run this script using above given steps<\/strong> after replacing <code>send-to-slack<\/code>, <code>payload<\/code> variables and <code>webhookUrl<\/code> to correct values.<\/p>\n<p>This helps in scenarios wherever you\u2019d like to <strong>share particular emails directly with your team on Slack<\/strong> rather than mailing it to them. This script automates the whole task and also helps unclutter the work inboxes of your team members.<\/p>\n<h3><a target=\"_blank\" href=\"https:\/\/gist.github.com\/rboyd\/5027691\" rel=\"noopener\">Auto-reply long emails<\/a><\/h3>\n<p><strong>Archives and auto-responds to the lengthy emails<\/strong>. The script runs periodically and keeps an eye on new emails in Gmail. You can configure a custom mail and <strong>filter the mails for which the auto-reply should be posted.<\/strong> Please change the <code>num_messages<\/code>, <code>work_limit<\/code>, <code>subj<\/code> and <code>body<\/code> values per your own preference.<\/p>\n<p>This helps you in <strong>dealing with very long messages, on which you can\u2019t spend much time reading<\/strong> and also improves your overall productivity. Don\u2019t forget to set a trigger for this script (read <code>line 2<\/code> of the script).<\/p>\n<h3><a target=\"_blank\" href=\"https:\/\/gist.github.com\/jesseh\/5117006\" rel=\"noopener\">Create RTM from Gmail threads<\/a><\/h3>\n<p><strong>Creates a Remember the Milk (RTM) task for every mail labelled with \u2018RTM\u2019<\/strong>. It monitors your Gmail account for any \u2018RTM\u2019 labeled thread and <strong>sends a task-creation email to the RTM service<\/strong>. Do remember to change the <code>LABEL_NAME<\/code>, <code>TARGET_EMAIL<\/code>, <code>RTM_LIST<\/code> and <code>RTM_TAGS<\/code> values in this script per your needs\/likes.<\/p>\n<p>This script helps you in scenarios when you need <strong>reminders for meetings, important tasks, parties, etc. <\/strong>. that you would probably forget otherwise. Also, do note that you must have a <a target=\"_blank\" href=\"https:\/\/www.rememberthemilk.com\/\" rel=\"noopener\">Remember the Milk<\/a> account to successfully use this script and create reminders.<\/p>\n<p class=\"recommended_top\">\n\t\t\t\t\t<strong>Read Also:<\/strong>\u00a0\n\t\t\t\t\t<a target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/gmail-security-tips\/\">How to Make Your Gmail Account Safer<\/a>\n\t\t\t\t<\/p>\n<h3>Wrap up<\/h3>\n<p>That\u2019s all, folks, about the various Google Apps Scripts that are freely available to use and can improve your regular tasks using Gmail and <strong>boost your productivity<\/strong> overall.<\/p>\n<p>Did you find any of the above scripts useful for your work? Do you have any Gmail-related problems that you think can be solved using Google Apps Scripts? Let us know, and we\u2019d try to help.<\/p>","protected":false},"excerpt":{"rendered":"<p>Google Apps Scripts help you do things on the Google\u2019s platform that would otherwise be impossible without writing large chunks of code . It\u2019s an easy, beginner-friendly, JS-like language that runs in the cloud and lets you code, script and automate Google services . Gmail, though known as the one of the most powerful mail&hellip;<\/p>\n","protected":false},"author":120,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3398],"tags":[137,3180,1988,978],"topic":[4521],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>19 Google Apps Scripts for Pro Gmail Users - Hongkiat<\/title>\n<meta name=\"description\" content=\"Google Apps Scripts help you do things on the Google&#039;s platform that would otherwise be impossible without writing large chunks of code . It&#039;s an easy,\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/apps-scripts-gmail-users\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"19 Google Apps Scripts for Pro Gmail Users\" \/>\n<meta property=\"og:description\" content=\"Google Apps Scripts help you do things on the Google&#039;s platform that would otherwise be impossible without writing large chunks of code . It&#039;s an easy,\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/apps-scripts-gmail-users\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2017-01-31T13:01:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-06T12:56:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/apps-scripts-gmail-users\/snooze-emails.jpg\" \/>\n<meta name=\"author\" content=\"Ashutosh KS\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ashutosh KS\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/apps-scripts-gmail-users\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/apps-scripts-gmail-users\\\/\"},\"author\":{\"name\":\"Ashutosh KS\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/0c0611010da9a578caa32a34232cf7bd\"},\"headline\":\"19 Google Apps Scripts for Pro Gmail Users\",\"datePublished\":\"2017-01-31T13:01:16+00:00\",\"dateModified\":\"2022-08-06T12:56:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/apps-scripts-gmail-users\\\/\"},\"wordCount\":2063,\"commentCount\":6,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/apps-scripts-gmail-users\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/apps-scripts-gmail-users\\\/snooze-emails.jpg\",\"keywords\":[\"Gmail\",\"Gmail Tips\",\"Google Apps\",\"Productivity Tips\"],\"articleSection\":[\"Internet\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/apps-scripts-gmail-users\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/apps-scripts-gmail-users\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/apps-scripts-gmail-users\\\/\",\"name\":\"19 Google Apps Scripts for Pro Gmail Users - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/apps-scripts-gmail-users\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/apps-scripts-gmail-users\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/apps-scripts-gmail-users\\\/snooze-emails.jpg\",\"datePublished\":\"2017-01-31T13:01:16+00:00\",\"dateModified\":\"2022-08-06T12:56:40+00:00\",\"description\":\"Google Apps Scripts help you do things on the Google's platform that would otherwise be impossible without writing large chunks of code . It's an easy,\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/apps-scripts-gmail-users\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/apps-scripts-gmail-users\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/apps-scripts-gmail-users\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/apps-scripts-gmail-users\\\/snooze-emails.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/apps-scripts-gmail-users\\\/snooze-emails.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/apps-scripts-gmail-users\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"19 Google Apps Scripts for Pro Gmail Users\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/0c0611010da9a578caa32a34232cf7bd\",\"name\":\"Ashutosh KS\",\"description\":\"Ashutosh is a writer, entrepreneur, and a tech evangelist with expertise in the area of Computer Programming.\",\"sameAs\":[\"https:\\\/\\\/www.hongkiat.com\\\/\"],\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/ashutosh_ks\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"19 Google Apps Scripts for Pro Gmail Users - Hongkiat","description":"Google Apps Scripts help you do things on the Google's platform that would otherwise be impossible without writing large chunks of code . It's an easy,","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/apps-scripts-gmail-users\/","og_locale":"en_US","og_type":"article","og_title":"19 Google Apps Scripts for Pro Gmail Users","og_description":"Google Apps Scripts help you do things on the Google's platform that would otherwise be impossible without writing large chunks of code . It's an easy,","og_url":"https:\/\/www.hongkiat.com\/blog\/apps-scripts-gmail-users\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2017-01-31T13:01:16+00:00","article_modified_time":"2022-08-06T12:56:40+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/apps-scripts-gmail-users\/snooze-emails.jpg","type":"","width":"","height":""}],"author":"Ashutosh KS","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Ashutosh KS","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/apps-scripts-gmail-users\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/apps-scripts-gmail-users\/"},"author":{"name":"Ashutosh KS","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/0c0611010da9a578caa32a34232cf7bd"},"headline":"19 Google Apps Scripts for Pro Gmail Users","datePublished":"2017-01-31T13:01:16+00:00","dateModified":"2022-08-06T12:56:40+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/apps-scripts-gmail-users\/"},"wordCount":2063,"commentCount":6,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/apps-scripts-gmail-users\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/apps-scripts-gmail-users\/snooze-emails.jpg","keywords":["Gmail","Gmail Tips","Google Apps","Productivity Tips"],"articleSection":["Internet"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/apps-scripts-gmail-users\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/apps-scripts-gmail-users\/","url":"https:\/\/www.hongkiat.com\/blog\/apps-scripts-gmail-users\/","name":"19 Google Apps Scripts for Pro Gmail Users - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/apps-scripts-gmail-users\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/apps-scripts-gmail-users\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/apps-scripts-gmail-users\/snooze-emails.jpg","datePublished":"2017-01-31T13:01:16+00:00","dateModified":"2022-08-06T12:56:40+00:00","description":"Google Apps Scripts help you do things on the Google's platform that would otherwise be impossible without writing large chunks of code . It's an easy,","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/apps-scripts-gmail-users\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/apps-scripts-gmail-users\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/apps-scripts-gmail-users\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/apps-scripts-gmail-users\/snooze-emails.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/apps-scripts-gmail-users\/snooze-emails.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/apps-scripts-gmail-users\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"19 Google Apps Scripts for Pro Gmail Users"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/0c0611010da9a578caa32a34232cf7bd","name":"Ashutosh KS","description":"Ashutosh is a writer, entrepreneur, and a tech evangelist with expertise in the area of Computer Programming.","sameAs":["https:\/\/www.hongkiat.com\/"],"url":"https:\/\/www.hongkiat.com\/blog\/author\/ashutosh_ks\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-7yS","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/29070","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/120"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=29070"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/29070\/revisions"}],"predecessor-version":[{"id":61205,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/29070\/revisions\/61205"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=29070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=29070"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=29070"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=29070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}