{"id":80319,"date":"2026-11-27T00:48:25","date_gmt":"2026-11-27T00:48:25","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=80319"},"modified":"2026-11-27T00:48:27","modified_gmt":"2026-11-27T00:48:27","slug":"how-to-bulk-reply-to-emails-in-gmail-using-google-apps-script","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/how-to-bulk-reply-to-emails-in-gmail-using-google-apps-script\/","title":{"rendered":"How to Bulk Reply to Emails in Gmail Using Google Apps Script"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  A practical, no-deployment tutorial for replying to multiple existing Gmail conversations with one common response.\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"630\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2026\/11\/gmail-bulk-reply-automation-using-google-apps-scri.png\" alt=\"Gmail bulk reply automation using Google Apps Script: one response sent to 20 individual threads.\" class=\"wp-image-80320\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2026\/11\/gmail-bulk-reply-automation-using-google-apps-scri.png 1200w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2026\/11\/gmail-bulk-reply-automation-using-google-apps-scri-300x158.png 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2026\/11\/gmail-bulk-reply-automation-using-google-apps-scri-1024x538.png 1024w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2026\/11\/gmail-bulk-reply-automation-using-google-apps-scri-768x403.png 768w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2026\/11\/gmail-bulk-reply-automation-using-google-apps-scri-820x430.png 820w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Featured image. Gmail bulk reply automation (1200 \u00d7 630 pixels).\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Imagine receiving 20 customer enquiries that all ask the same question. Copying and pasting the same response into each conversation wastes time and makes it easy to miss a customer. Gmail\u2019s regular reply controls operate on individual conversations. This tutorial shows how to automate the repetitive work while keeping the operator in control of exactly what gets sent.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  The solution uses Gmail labels, a standalone Google Apps Script project and two explicit functions: previewEmails and sendBulkReplies. Every eligible conversation receives a separate reply inside its existing thread. No external server, extension, API-key setup, scheduled trigger or web-app deployment is needed.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What you will build<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><br>    Move selected conversations out of the inbox into a BulkReply queue.<br>  <\/li>\n\n\n\n<li><br>    Preview the recipients and common response without sending anything.<br>  <\/li>\n\n\n\n<li><br>    Send one plain-text reply per eligible thread and move successful items to Replied.<br>  <\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Validation note: Google API behavior is documented; the JavaScript syntax and seven local mock scenarios were tested. Live Gmail execution and the WordPress plugin import are not independently tested. Use the two-message acceptance test before production use.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. Understand the workflow and Gmail labels<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"420\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2026\/11\/four-stage-flow-select-inbox-conversations-move.png\" alt=\"Four-stage flow: select inbox conversations, move them to BulkReply, preview and send using Apps Script, then mark successful threads Replied.\" class=\"wp-image-80321\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2026\/11\/four-stage-flow-select-inbox-conversations-move.png 1200w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2026\/11\/four-stage-flow-select-inbox-conversations-move-300x105.png 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2026\/11\/four-stage-flow-select-inbox-conversations-move-1024x358.png 1024w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2026\/11\/four-stage-flow-select-inbox-conversations-move-768x269.png 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Figure 1. Manually controlled Gmail bulk-reply architecture.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Gmail uses labels rather than conventional folders. Moving a conversation to BulkReply from the inbox applies the label and removes it from the inbox. Label as leaves it in the inbox. Archiving does not delete the email: it remains searchable in All Mail. A new customer reply can return an archived conversation to the inbox.\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p><strong>Method<\/strong>\n<\/p><\/th><th><p><strong>Original thread?<\/strong>\n<\/p><\/th><th><p><strong>Best use<\/strong>\n<\/p><\/th><\/tr><\/thead><tbody><tr><td><p>\n  BCC \/ new message\n<\/p><\/td><td><p>\n  No\n<\/p><\/td><td><p>\n  One announcement; not an individual reply\n<\/p><\/td><\/tr><tr><td><p>\n  Gmail templates\n<\/p><\/td><td><p>\n  Yes, manually\n<\/p><\/td><td><p>\n  A handful of similar questions\n<\/p><\/td><\/tr><tr><td><p>\n  Mail merge\n<\/p><\/td><td><p>\n  Generally no\n<\/p><\/td><td><p>\n  New personalized outreach messages\n<\/p><\/td><\/tr><tr><td><p>\n  Apps Script reply\n<\/p><\/td><td><p>\n  Yes\n<\/p><\/td><td><p>\n  A reviewed queue of existing enquiries\n<\/p><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Prerequisites<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><br>    A Gmail or Google Workspace mailbox and a desktop browser.<br>  <\/li>\n\n\n\n<li><br>    Permission to run Google Apps Script and authorize Gmail access. Workspace policy may restrict this.<br>  <\/li>\n\n\n\n<li><br>    Two test conversations from an address you control, with different subjects.<br>  <\/li>\n\n\n\n<li><br>    A common response that is appropriate for every chosen conversation.<br>  <\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">2. Configure Gmail and Google Apps Script<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1 \u2014 Create the two labels<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><br>  Open Gmail in your browser. In the left sidebar, locate Labels and click the plus icon (or use Settings \u2192 See all settings \u2192 Labels).<br><\/li>\n\n\n\n<li><br>  Create BulkReply, then create Replied. Use exactly these names, including capitalization.<br><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/mail.google.com\/\" rel=\"noopener\">Open Gmail<\/a>\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2 \u2014 Move selected emails into the queue<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><br>  Select the checkboxes for the similar conversations in Inbox. Start with only two test conversations.<br><\/li>\n\n\n\n<li><br>  Click the Move to icon in the toolbar and choose BulkReply. If necessary, apply the BulkReply label and then archive the selection to achieve the same inbox state.<br><\/li>\n\n\n\n<li><br>  Open BulkReply and confirm the intended conversations are present. Remove any unrelated item from the queue before continuing.<br><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\n  For a clean inbox, use Move to, not merely Label as. The script does not archive after sending; using Move to before processing achieves the intended organization without hiding a new incoming reply during processing.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3 \u2014 Create a standalone script<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><br>  Open Google Apps Script using the same account as the Gmail mailbox.<br><\/li>\n\n\n\n<li><br>  Select New project, name it Gmail Bulk Reply Automation, and open Code.gs.<br><\/li>\n\n\n\n<li><br>  Remove the sample function. Paste the entire script from the next section, then save the project.<br><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/script.google.com\/\" rel=\"noopener\">Open Google Apps Script<\/a>\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4 \u2014 Configure your response<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Edit the response value in CONFIG. Keep the surrounding backticks. The default example is plain text. Set max to 20 for a manageable batch; the script refuses a queue larger than that limit rather than silently sending an arbitrary subset. Do not include sensitive or customer-specific information in a common reply.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. Complete Google Apps Script source code<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Copy all lines below into Code.gs as a single script. It contains the two operator functions and their helper functions. The page breaks in this Word document are only visual; do not paste page numbers or headings into Apps Script.\n<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">const<\/span> CONFIG = {\n  <span class=\"hljs-attr\">queue<\/span>: <span class=\"hljs-string\">'BulkReply'<\/span>,\n  <span class=\"hljs-attr\">done<\/span>: <span class=\"hljs-string\">'Replied'<\/span>,\n  <span class=\"hljs-attr\">max<\/span>: <span class=\"hljs-number\">20<\/span>,\n  <span class=\"hljs-attr\">response<\/span>: <span class=\"hljs-string\">`Hi,\nThank you for your enquiry.\nPlease share your requirements and budget.\nWe will be happy to assist you.\nBest regards,\nTeam`<\/span>\n};\n<span class=\"hljs-keyword\">const<\/span> PREVIEW_KEY = <span class=\"hljs-string\">'bulkReplyPreview'<\/span>;\n<span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span> <span class=\"hljs-title\">previewEmails<\/span>(<span class=\"hljs-params\"><\/span>) <\/span>{\n  withLock(<span class=\"hljs-function\"><span class=\"hljs-params\">()<\/span> =&gt;<\/span> {\n    <span class=\"hljs-keyword\">const<\/span> props = PropertiesService.getUserProperties();\n    props.deleteProperty(PREVIEW_KEY);\n    <span class=\"hljs-keyword\">const<\/span> batch = collectBatch();\n    batch.forEach(<span class=\"hljs-function\"><span class=\"hljs-params\">item<\/span> =&gt;<\/span> {\n      <span class=\"hljs-built_in\">console<\/span>.log(<span class=\"hljs-string\">`PREVIEW | <span class=\"hljs-subst\">${item.to}<\/span> | <span class=\"hljs-subst\">${item.subject}<\/span>`<\/span>);\n    });\n    <span class=\"hljs-built_in\">console<\/span>.log(<span class=\"hljs-string\">'Response:\\n'<\/span> + CONFIG.response);\n    <span class=\"hljs-built_in\">console<\/span>.log(<span class=\"hljs-string\">`Eligible: <span class=\"hljs-subst\">${batch.length}<\/span>; sent: 0`<\/span>);\n    <span class=\"hljs-keyword\">if<\/span> (batch.length) {\n      props.setProperty(PREVIEW_KEY, fingerprint(batch));\n    }\n  });\n}\n<span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span> <span class=\"hljs-title\">sendBulkReplies<\/span>(<span class=\"hljs-params\"><\/span>) <\/span>{\n  withLock(<span class=\"hljs-function\"><span class=\"hljs-params\">()<\/span> =&gt;<\/span> {\n    <span class=\"hljs-keyword\">const<\/span> props = PropertiesService.getUserProperties();\n    <span class=\"hljs-keyword\">const<\/span> approved = props.getProperty(PREVIEW_KEY);\n    <span class=\"hljs-keyword\">if<\/span> (!approved) <span class=\"hljs-keyword\">throw<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-built_in\">Error<\/span>(<span class=\"hljs-string\">'Run previewEmails first.'<\/span>);\n    <span class=\"hljs-keyword\">const<\/span> batch = collectBatch();\n    props.deleteProperty(PREVIEW_KEY);\n    <span class=\"hljs-keyword\">if<\/span> (approved !== fingerprint(batch)) {\n      <span class=\"hljs-keyword\">throw<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-built_in\">Error<\/span>(<span class=\"hljs-string\">'Batch or response changed. Preview again.'<\/span>);\n    }\n    <span class=\"hljs-keyword\">const<\/span> queue = GmailApp.getUserLabelByName(CONFIG.queue);\n    <span class=\"hljs-keyword\">const<\/span> done = GmailApp.getUserLabelByName(CONFIG.done) ||\n      GmailApp.createLabel(CONFIG.done);\n    <span class=\"hljs-keyword\">let<\/span> sent = <span class=\"hljs-number\">0<\/span>;\n    <span class=\"hljs-keyword\">let<\/span> completed = <span class=\"hljs-number\">0<\/span>;\n    <span class=\"hljs-keyword\">for<\/span> (<span class=\"hljs-keyword\">const<\/span> item <span class=\"hljs-keyword\">of<\/span> batch) {\n      <span class=\"hljs-keyword\">try<\/span> {\n        item.thread.refresh();\n        <span class=\"hljs-keyword\">const<\/span> current = inspect(item.thread, ownAddresses());\n        <span class=\"hljs-keyword\">if<\/span> (!current || current.id !== item.id ||\n            current.to !== item.to) {\n          <span class=\"hljs-built_in\">console<\/span>.warn(<span class=\"hljs-string\">'SKIP changed thread: '<\/span> + item.subject);\n          <span class=\"hljs-keyword\">continue<\/span>;\n        }\n        current.message.reply(CONFIG.response);\n        sent++;\n        item.thread.addLabel(done);\n        item.thread.removeLabel(queue);\n        completed++;\n        <span class=\"hljs-built_in\">console<\/span>.log(<span class=\"hljs-string\">'SENT | '<\/span> + item.to + <span class=\"hljs-string\">' | '<\/span> + item.subject);\n      } <span class=\"hljs-keyword\">catch<\/span> (error) {\n        <span class=\"hljs-built_in\">console<\/span>.error(<span class=\"hljs-string\">'STOP | '<\/span> + item.subject + <span class=\"hljs-string\">' | '<\/span> + error);\n        <span class=\"hljs-built_in\">console<\/span>.log(<span class=\"hljs-string\">`Sent: <span class=\"hljs-subst\">${sent}<\/span>; labeled: <span class=\"hljs-subst\">${completed}<\/span>`<\/span>);\n        <span class=\"hljs-keyword\">throw<\/span> error; <span class=\"hljs-comment\">\/\/ Review Sent before retrying.<\/span>\n      }\n    }\n    <span class=\"hljs-built_in\">console<\/span>.log(<span class=\"hljs-string\">`Sent: <span class=\"hljs-subst\">${sent}<\/span>; labeled: <span class=\"hljs-subst\">${completed}<\/span>`<\/span>);\n  });\n}\n<span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span> <span class=\"hljs-title\">collectBatch<\/span>(<span class=\"hljs-params\"><\/span>) <\/span>{\n  <span class=\"hljs-keyword\">if<\/span> (!CONFIG.response.trim()) <span class=\"hljs-keyword\">throw<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-built_in\">Error<\/span>(<span class=\"hljs-string\">'Empty response.'<\/span>);\n  <span class=\"hljs-keyword\">const<\/span> queue = GmailApp.getUserLabelByName(CONFIG.queue);\n  <span class=\"hljs-keyword\">if<\/span> (!queue) <span class=\"hljs-keyword\">throw<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-built_in\">Error<\/span>(<span class=\"hljs-string\">'Create the BulkReply label.'<\/span>);\n  <span class=\"hljs-keyword\">const<\/span> threads = queue.getThreads(<span class=\"hljs-number\">0<\/span>, CONFIG.max + <span class=\"hljs-number\">1<\/span>);\n  <span class=\"hljs-keyword\">if<\/span> (threads.length &gt; CONFIG.max) {\n    <span class=\"hljs-keyword\">throw<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-built_in\">Error<\/span>(<span class=\"hljs-string\">'Queue exceeds limit. Reduce it first.'<\/span>);\n  }\n  <span class=\"hljs-keyword\">const<\/span> own = ownAddresses();\n  <span class=\"hljs-keyword\">return<\/span> threads.map(<span class=\"hljs-function\"><span class=\"hljs-params\">t<\/span> =&gt;<\/span> inspect(t, own)).filter(<span class=\"hljs-built_in\">Boolean<\/span>);\n}\n<span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span> <span class=\"hljs-title\">inspect<\/span>(<span class=\"hljs-params\">thread, own<\/span>) <\/span>{\n  <span class=\"hljs-keyword\">const<\/span> labels = thread.getLabels().map(<span class=\"hljs-function\"><span class=\"hljs-params\">l<\/span> =&gt;<\/span> l.getName());\n  <span class=\"hljs-keyword\">if<\/span> (!labels.includes(CONFIG.queue) ||\n      labels.includes(CONFIG.done) || thread.isInTrash() ||\n      thread.isInSpam()) <span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-literal\">null<\/span>;\n  <span class=\"hljs-keyword\">const<\/span> messages = thread.getMessages();\n  <span class=\"hljs-keyword\">if<\/span> (!messages.length || messages.some(<span class=\"hljs-function\"><span class=\"hljs-params\">m<\/span> =&gt;<\/span> m.isDraft())) {\n    <span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-literal\">null<\/span>;\n  }\n  <span class=\"hljs-keyword\">const<\/span> message = messages&#91;messages.length - <span class=\"hljs-number\">1<\/span>];\n  <span class=\"hljs-keyword\">const<\/span> <span class=\"hljs-keyword\">from<\/span> = address(message.getFrom());\n  <span class=\"hljs-keyword\">const<\/span> to = address(message.getReplyTo() || message.getFrom());\n  <span class=\"hljs-keyword\">if<\/span> (!<span class=\"hljs-keyword\">from<\/span> || !to || own.includes(<span class=\"hljs-keyword\">from<\/span>) || own.includes(to) ||\n      <span class=\"hljs-regexp\">\/^(no&#91;._-]?reply|do&#91;._-]?not&#91;._-]?reply)@\/i<\/span>.test(to)) {\n    <span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-literal\">null<\/span>;\n  }\n  <span class=\"hljs-keyword\">return<\/span> {thread, message, <span class=\"hljs-attr\">id<\/span>: message.getId(), to,\n    <span class=\"hljs-attr\">subject<\/span>: message.getSubject()};\n}\n<span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span> <span class=\"hljs-title\">ownAddresses<\/span>(<span class=\"hljs-params\"><\/span>) <\/span>{\n  <span class=\"hljs-keyword\">const<\/span> primary = Session.getEffectiveUser().getEmail();\n  <span class=\"hljs-keyword\">if<\/span> (!primary) <span class=\"hljs-keyword\">throw<\/span> <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-built_in\">Error<\/span>(<span class=\"hljs-string\">'Cannot identify your mailbox.'<\/span>);\n  <span class=\"hljs-keyword\">return<\/span> &#91;primary, ...GmailApp.getAliases()].map(address);\n}\n<span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span> <span class=\"hljs-title\">address<\/span>(<span class=\"hljs-params\">value<\/span>) <\/span>{\n  <span class=\"hljs-keyword\">const<\/span> match = value.match(<span class=\"hljs-regexp\">\/&lt;(&#91;^&lt;&gt;]+)&gt;\\s*$\/<\/span>);\n  <span class=\"hljs-keyword\">const<\/span> result = (match ? match&#91;<span class=\"hljs-number\">1<\/span>] : value).trim().toLowerCase();\n  <span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-regexp\">\/^&#91;^\\s@,;&lt;&gt;]+@&#91;^\\s@,;&lt;&gt;]+\\.&#91;^\\s@,;&lt;&gt;]+$\/<\/span>.test(result)\n    &amp;&amp; (!match || !value.slice(<span class=\"hljs-number\">0<\/span>, match.index).includes(<span class=\"hljs-string\">'&gt;'<\/span>))\n    ? result : <span class=\"hljs-string\">''<\/span>;\n}\n<span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span> <span class=\"hljs-title\">fingerprint<\/span>(<span class=\"hljs-params\">batch<\/span>) <\/span>{\n  <span class=\"hljs-keyword\">const<\/span> items = batch.map(<span class=\"hljs-function\"><span class=\"hljs-params\">x<\/span> =&gt;<\/span> &#91;x.id, x.to]).sort();\n  <span class=\"hljs-keyword\">const<\/span> data = <span class=\"hljs-built_in\">JSON<\/span>.stringify(&#91;CONFIG, items]);\n  <span class=\"hljs-keyword\">const<\/span> bytes = Utilities.computeDigest(\n    Utilities.DigestAlgorithm.SHA_256, data);\n  <span class=\"hljs-keyword\">return<\/span> Utilities.base64EncodeWebSafe(bytes);\n}\n<span class=\"hljs-function\"><span class=\"hljs-keyword\">function<\/span> <span class=\"hljs-title\">withLock<\/span>(<span class=\"hljs-params\">action<\/span>) <\/span>{\n  <span class=\"hljs-keyword\">const<\/span> lock = LockService.getUserLock();\n  lock.waitLock(<span class=\"hljs-number\">10000<\/span>);\n  <span class=\"hljs-keyword\">try<\/span> { action(); } <span class=\"hljs-keyword\">finally<\/span> { lock.releaseLock(); }\n}<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h2 class=\"wp-block-heading\">4. Authorize, preview and send<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5 \u2014 Save and authorize the script<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><br>  Click Save in the Apps Script editor. Select previewEmails from the function dropdown next to Run.<br><\/li>\n\n\n\n<li><br>  Click Run. On the first execution, review the authorization prompt, choose the correct mailbox and allow the required access if your organization permits it.<br><\/li>\n\n\n\n<li><br>  Review the Execution log. A successful preview reports eligible recipients and the body but sends zero messages.<br><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Do not click Deploy. Deploy is relevant for published web apps and other deployment-based integrations, not for manually running a standalone function from the editor. No triggers are configured in this tutorial.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 6 \u2014 Review the preview<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  The following is illustrative output for two fictional addresses. The actual subject and recipient are read from your selected Gmail conversations.\n<\/p>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">PREVIEW | alice@example.com | Test enquiry A\nPREVIEW | bob@example.com | Test enquiry B\nResponse:\nHi,\nThank you for your enquiry.\nPlease share your requirements and budget.\nWe will be happy to assist you.\nBest regards,\nTeam\nEligible: 2; sent: 0<\/code><\/span><\/pre>\n\n\n<p class=\"wp-block-paragraph\">\n  Check the recipient list, subject lines, body, number of eligible messages and any missing items. If a conversation was excluded, inspect its labels, sender, draft status and latest message. Make corrections, save the script and run preview again.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 7 \u2014 Execute the actual bulk reply<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><br>  Select sendBulkReplies in the function dropdown and click Run. This is the operation that sends real email.<br><\/li>\n\n\n\n<li><br>  Do not change the response or move emails while sending. A changed batch or response requires another preview.<br><\/li>\n\n\n\n<li><br>  Check the log for the final Sent and labeled counts. Gmail\u2019s Sent view and the original conversations are your independent confirmation.<br><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">5. How the safeguards work<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"460\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2026\/11\/safety-workflow-preview-eligible-messages-finger.png\" alt=\"Safety workflow: preview eligible messages, fingerprint response and message IDs, recheck at send time; any batch change requires a new preview.\" class=\"wp-image-80322\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2026\/11\/safety-workflow-preview-eligible-messages-finger.png 1200w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2026\/11\/safety-workflow-preview-eligible-messages-finger-300x115.png 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2026\/11\/safety-workflow-preview-eligible-messages-finger-1024x393.png 1024w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2026\/11\/safety-workflow-preview-eligible-messages-finger-768x294.png 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Figure 2. Preview fingerprint and sending safety gate.\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p><strong>Safeguard<\/strong>\n<\/p><\/th><th><p><strong>What it does<\/strong>\n<\/p><\/th><\/tr><\/thead><tbody><tr><td><p>\n  Preview fingerprint\n<\/p><\/td><td><p>\n  Stores a digest of the selected message IDs, recipient addresses and configuration in user properties. It does not store the message bodies.\n<\/p><\/td><\/tr><tr><td><p>\n  One-use preview\n<\/p><\/td><td><p>\n  Consumes the stored preview before attempting any send. A second send requires a new preview.\n<\/p><\/td><\/tr><tr><td><p>\n  Eligibility checks\n<\/p><\/td><td><p>\n  Excludes Replied, spam, trash, drafts, own addresses and common no-reply addresses.\n<\/p><\/td><\/tr><tr><td><p>\n  Per-thread recheck\n<\/p><\/td><td><p>\n  Refreshes the thread and checks the latest eligible message before replying.\n<\/p><\/td><\/tr><tr><td><p>\n  User lock\n<\/p><\/td><td><p>\n  Prevents two executions by the same user in this project from overlapping.\n<\/p><\/td><\/tr><tr><td><p>\n  Fail-stop processing\n<\/p><\/td><td><p>\n  Stops on the first send or label error; the log and Sent folder are used for reconciliation.\n<\/p><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\n  These checks reduce accidental duplicates but cannot guarantee exactly-once delivery. Gmail sending and label changes are separate operations. A timeout, partial failure or a customer message arriving between checks can still create an ambiguous outcome. The lock does not stop someone using Gmail manually or running a separate project.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">6. Verify the result in Gmail<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  After successful execution, open Replied, Sent and the original conversations. For the two-message test, the expected output is:\n<\/p>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">SENT | alice@example.com | Test enquiry A\nSENT | bob@example.com | Test enquiry B\nSent: 2; labeled: 2<\/code><\/span><\/pre>\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p><strong>Location<\/strong>\n<\/p><\/th><th><p><strong>Expected state for a successful 20-thread run<\/strong>\n<\/p><\/th><\/tr><\/thead><tbody><tr><td><p>\n  BulkReply\n<\/p><\/td><td><p>\n  No successfully processed items remain. Skipped items stay.\n<\/p><\/td><\/tr><tr><td><p>\n  Replied\n<\/p><\/td><td><p>\n  20 newly processed conversations, if all were eligible.\n<\/p><\/td><\/tr><tr><td><p>\n  Sent\n<\/p><\/td><td><p>\n  20 new individual outgoing replies.\n<\/p><\/td><\/tr><tr><td><p>\n  Original conversation\n<\/p><\/td><td><p>\n  Response appears within the existing thread.\n<\/p><\/td><\/tr><tr><td><p>\n  Inbox\n<\/p><\/td><td><p>\n  Previously moved items stay archived unless new activity returns them.\n<\/p><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Hands-on acceptance tests<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p><strong>Test<\/strong>\n<\/p><\/th><th><p><strong>Expected result<\/strong>\n<\/p><\/th><\/tr><\/thead><tbody><tr><td><p>\n  Preview two test threads\n<\/p><\/td><td><p>\n  Two eligible items, zero outgoing replies.\n<\/p><\/td><\/tr><tr><td><p>\n  Run send once\n<\/p><\/td><td><p>\n  Two individual replies, queue labels replaced.\n<\/p><\/td><\/tr><tr><td><p>\n  Run send again\n<\/p><\/td><td><p>\n  Rejected because preview has been consumed.\n<\/p><\/td><\/tr><tr><td><p>\n  Edit response after preview\n<\/p><\/td><td><p>\n  Rejected; preview the revised response.\n<\/p><\/td><\/tr><tr><td><p>\n  Add an eligible item after preview\n<\/p><\/td><td><p>\n  Rejected; preview the new batch.\n<\/p><\/td><\/tr><tr><td><p>\n  New inbound message after preview\n<\/p><\/td><td><p>\n  Changed message ID causes rejection or skip.\n<\/p><\/td><\/tr><tr><td><p>\n  Move a thread with own latest reply or draft\n<\/p><\/td><td><p>\n  Skipped; review manually.\n<\/p><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Daily operating routine<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  For each batch: select related enquiries \u2192 Move to BulkReply \u2192 update the response and save \u2192 preview \u2192 review \u2192 send \u2192 verify. Bookmark the script editor. For later customer follow-ups, remove Replied from the conversation first, then move it back to BulkReply and preview the new inbound message.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">7. Production limits and best practices<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Google Apps Script publishes account-dependent quotas. The official quota table lists these values as of the documentation review on 27 November 2026. Gmail account restrictions, trial conditions and anti-abuse policies can impose additional limits.\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p><strong>Published limit<\/strong>\n<\/p><\/th><th><p><strong>Personal Gmail<\/strong>\n<\/p><\/th><th><p><strong>Google Workspace<\/strong>\n<\/p><\/th><\/tr><\/thead><tbody><tr><td><p>\n  Email recipients\/day (Apps Script)\n<\/p><\/td><td><p>\n  100\n<\/p><\/td><td><p>\n  1,500\n<\/p><\/td><\/tr><tr><td><p>\n  Email read\/write operations\/day (excluding send)\n<\/p><\/td><td><p>\n  20,000\n<\/p><\/td><td><p>\n  50,000\n<\/p><\/td><\/tr><tr><td><p>\n  Script runtime\/execution\n<\/p><\/td><td><p>\n  6 minutes\n<\/p><\/td><td><p>\n  6 minutes\n<\/p><\/td><\/tr><tr><td><p>\n  Tutorial batch limit\n<\/p><\/td><td><p>\n  20 (chosen)\n<\/p><\/td><td><p>\n  20 (chosen)\n<\/p><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Daily recipient quotas are not a promise that every message will be accepted or delivered. Quotas are per user and can change. The script does not query the remaining quota; if a service error occurs, inspect the results before resuming. Do not attempt to circumvent sending restrictions.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Security and operational practices<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><br>    Use only for legitimate existing enquiries. Avoid unsolicited outreach, newsletters and mass marketing.<br>  <\/li>\n\n\n\n<li><br>    Review Gmail authorization carefully; GmailApp uses broad mailbox access. Keep the script private and avoid sharing editor permissions.<br>  <\/li>\n\n\n\n<li><br>    Treat execution logs as private customer information: they include addresses, subjects and the response. Do not publish real logs or screenshots.<br>  <\/li>\n\n\n\n<li><br>    Keep batches small and consistent. Avoid mixing support tickets, refunds and commercial enquiries in one queue.<br>  <\/li>\n\n\n\n<li><br>    Verify Reply-To addresses. The script uses reply, not replyAll; group recipients and CC are not intentionally copied.<br>  <\/li>\n\n\n\n<li><br>    Do not assume that a successful send means delivery; review bounces and customer replies separately.<br>  <\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">8. Troubleshooting<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p><strong>Symptom<\/strong>\n<\/p><\/th><th><p><strong>Cause \/ resolution<\/strong>\n<\/p><\/th><\/tr><\/thead><tbody><tr><td><p>\n  No eligible threads\n<\/p><\/td><td><p>\n  Check the BulkReply label, Replied label, latest sender, drafts and trash\/spam status. If the intended item is a new follow-up, remove Replied and preview again.\n<\/p><\/td><\/tr><tr><td><p>\n  Run previewEmails first\n<\/p><\/td><td><p>\n  No valid stored preview exists. Run preview, review and then send.\n<\/p><\/td><\/tr><tr><td><p>\n  Batch or response changed\n<\/p><\/td><td><p>\n  An eligible thread, recipient, message ID or configuration changed. Save and preview again.\n<\/p><\/td><\/tr><tr><td><p>\n  Queue exceeds limit\n<\/p><\/td><td><p>\n  Move excess items out of BulkReply, leaving 20 or fewer. Process the remaining items in a later batch.\n<\/p><\/td><\/tr><tr><td><p>\n  Authorization denied\n<\/p><\/td><td><p>\n  Check the selected Google account and Workspace admin policy. Do not bypass company controls.\n<\/p><\/td><\/tr><tr><td><p>\n  Quota or runtime exceeded\n<\/p><\/td><td><p>\n  Stop; inspect Gmail Sent and Replied, reconcile partial results, and resume later within the documented limits.\n<\/p><\/td><\/tr><tr><td><p>\n  Sent count exceeds labeled count\n<\/p><\/td><td><p>\n  A send may have succeeded before the label update failed. Inspect Sent and the conversation; label successful threads manually. Do not blindly rerun.\n<\/p><\/td><\/tr><tr><td><p>\n  Customer still appears in Inbox\n<\/p><\/td><td><p>\n  Label as was used instead of Move to, or a new incoming reply returned the conversation to Inbox.\n<\/p><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Recovery after a partial failure<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Step 1 \u2014 Reconcile before retrying<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Open Sent and each uncertain original conversation. Confirm which replies exist. If a reply already went out, apply Replied and remove BulkReply manually. If you cannot determine the send outcome, keep that thread out of the next batch until it can be investigated.\n<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Step 2 \u2014 Resume only confirmed unsent threads<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Leave genuinely unsent conversations in BulkReply, remove uncertain items, run preview again and send only the newly approved batch. There is no rollback of a sent email in this script.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">9. Frequently asked questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Do I need to deploy Google Apps Script?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  No. Saving and running the functions from the Apps Script editor is enough. Authorize the requested Gmail access the first time.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Will all recipients see one another?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  No combined recipient list is created. Each eligible message receives its own reply, normally addressed to its Reply-To address or sender.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Should I move the emails or apply a label?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Move to BulkReply if you want a cleaner inbox. Apply the label only if you want to retain the conversations in Inbox; the script reads the queue either way.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Does this work on personal Gmail and Workspace?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Yes in principle, provided Gmail service access is allowed and quota is available. Managed accounts can have additional restrictions.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can I include HTML or attachments?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  The GmailMessage reply method supports options such as htmlBody and attachments. This tutorial deliberately uses plain text; HTML and attachments require a separately reviewed implementation.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can I reply to the same customer again?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Yes, after a new inbound message. Remove Replied, queue the thread and run preview again. If the latest message is from you, it will be skipped.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can I run it automatically every day?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Installable triggers can schedule functions, but this guide intentionally uses manual preview and send to avoid unreviewed responses.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can I send 500 replies at once?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Do not use this tutorial for that. It limits each queue to 20 and remains subject to Google quotas and anti-abuse rules.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  For repetitive inbound enquiries, a small Apps Script project can replace tedious copying and pasting. Keep the queue narrow, preview before sending, and reconcile any uncertain result. You gain a tidy inbox and individual conversations without deploying a separate application.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Official documentation and further reading<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/developers.google.com\/apps-script\/guides\/standalone\" rel=\"noopener\">Google Apps Script \u2014 standalone scripts<\/a>\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/developers.google.com\/apps-script\/guides\/services\/authorization\" rel=\"noopener\">Google Apps Script \u2014 authorization<\/a>\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/developers.google.com\/apps-script\/reference\/gmail\/gmail-message\" rel=\"noopener\">GmailMessage \u2014 reply and recipient methods<\/a>\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/developers.google.com\/apps-script\/reference\/gmail\/gmail-thread\" rel=\"noopener\">GmailThread \u2014 label and conversation methods<\/a>\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/developers.google.com\/apps-script\/reference\/gmail\/gmail-label\" rel=\"noopener\">GmailLabel \u2014 thread retrieval<\/a>\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/developers.google.com\/apps-script\/reference\/gmail\/gmail-app\" rel=\"noopener\">GmailApp \u2014 mailbox methods and aliases<\/a>\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/developers.google.com\/apps-script\/guides\/services\/quotas\" rel=\"noopener\">Google Apps Script \u2014 quotas and limits<\/a>\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/support.google.com\/mail\/answer\/6576?hl=en\" rel=\"noopener\">Gmail Help \u2014 archive messages<\/a>\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/support.google.com\/mail\/answer\/90559?hl=en\" rel=\"noopener\">Gmail Help \u2014 labels and moving messages<\/a>\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/developers.google.com\/apps-script\/guides\/properties\" rel=\"noopener\">Google Apps Script \u2014 properties service<\/a>\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/developers.google.com\/apps-script\/reference\/lock\/lock-service\" rel=\"noopener\">Google Apps Script \u2014 lock service<\/a>\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/wordpress.org\/plugins\/mammoth-docx-converter\/\" rel=\"noopener\">WordPress \u2014 Mammoth .docx converter<\/a>\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/github.com\/mwilliamson\/mammoth.js\" rel=\"noopener\">Mammoth.js \u2014 style mapping documentation<\/a>\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  References reviewed 27 November 2026. API behavior is based on Google documentation; the implementation is original and local mock checks are not a live Gmail test.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Editorial publishing metadata (remove from article body)<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p><strong>Field<\/strong>\n<\/p><\/th><th><p><strong>Recommended value<\/strong>\n<\/p><\/th><\/tr><\/thead><tbody><tr><td><p>\n  SEO title\n<\/p><\/td><td><p>\n  Gmail Bulk Reply Using Google Apps Script (Step-by-Step)\n<\/p><\/td><\/tr><tr><td><p>\n  Meta description\n<\/p><\/td><td><p>\n  Learn how to bulk reply to Gmail emails in their original threads using Google Apps Script, preview recipients, move labels and send safely without deployment.\n<\/p><\/td><\/tr><tr><td><p>\n  Focus keyword\n<\/p><\/td><td><p>\n  Gmail bulk reply\n<\/p><\/td><\/tr><tr><td><p>\n  Secondary keywords\n<\/p><\/td><td><p>\n  Google Apps Script Gmail reply, reply to multiple emails in Gmail, Gmail bulk email response, Gmail label automation, automate Gmail replies\n<\/p><\/td><\/tr><tr><td><p>\n  URL slug\n<\/p><\/td><td><p>\n  gmail-bulk-reply-google-apps-script\n<\/p><\/td><\/tr><tr><td><p>\n  Categories\n<\/p><\/td><td><p>\n  Google Workspace; Automation; Productivity\n<\/p><\/td><\/tr><tr><td><p>\n  Tags\n<\/p><\/td><td><p>\n  Gmail, Google Apps Script, Email Automation, Bulk Reply, Gmail Labels, Inbox Management\n<\/p><\/td><\/tr><tr><td><p>\n  Featured image\n<\/p><\/td><td><p>\n  First image in this document (1200 \u00d7 630 pixels).\n<\/p><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">WordPress import checklist<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><br>    Open a new post in WordPress with Mammoth .docx converter enabled. Choose this DOCX from the Mammoth panel and insert the conversion into the editor.<br>  <\/li>\n\n\n\n<li><br>    Set the post title and SEO fields using the table above. Remove this editorial section and avoid duplicate H1 headings if your theme already renders the post title.<br>  <\/li>\n\n\n\n<li><br>    Verify that all three images imported with ALT text, that captions are visible and that the script appears as preformatted code. Set the first image as Featured image in WordPress manually; a DOCX cannot set WordPress post metadata by itself.<br>  <\/li>\n\n\n\n<li><br>    Preview the article at desktop and mobile widths. Check code indentation and copy\/paste into Code.gs before publishing.<br>  <\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\n  The embedded Mammoth mapping uses Code Block paragraphs with a newline separator and HTML pre\/code markup. Actual plugin conversion can depend on the installed version and editor sanitization. The package and code text were structurally validated; the live WordPress importer was unavailable for independent verification.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A practical, no-deployment tutorial for replying to multiple existing Gmail conversations with one common response. Featured image. Gmail bulk reply automation (1200 \u00d7 630 pixels). Imagine receiving&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[49],"tags":[6418],"class_list":["post-80319","post","type-post","status-publish","format-standard","hentry","category-general","tag-email-marketing"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/80319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=80319"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/80319\/revisions"}],"predecessor-version":[{"id":80323,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/80319\/revisions\/80323"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=80319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=80319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=80319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}