Close Menu
BuzzinDailyBuzzinDaily
  • Home
  • Arts & Entertainment
  • Business
  • Celebrity
  • Culture
  • Health
  • Inequality
  • Investigations
  • Opinion
  • Politics
  • Science
  • Tech
What's Hot

Shona Steps Into The Highlight With Debut Single ‘Unapologetically Me’

November 3, 2025

High Child Identify Tendencies Impressed by TV Exhibits and Cottagecore Model

November 3, 2025

PETA Calls on President to Cease Animal Abuse at Grand Egyptian Museum

November 3, 2025
BuzzinDailyBuzzinDaily
Login
  • Arts & Entertainment
  • Business
  • Celebrity
  • Culture
  • Health
  • Inequality
  • Investigations
  • National
  • Opinion
  • Politics
  • Science
  • Tech
  • World
Monday, November 3
BuzzinDailyBuzzinDaily
Home»Tech»ChatGPT simply helped me remedy an enormous Gmail drawback—and I’ve lastly reached inbox zero
Tech

ChatGPT simply helped me remedy an enormous Gmail drawback—and I’ve lastly reached inbox zero

Buzzin DailyBy Buzzin DailyNovember 2, 2025No Comments6 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr WhatsApp VKontakte Email
ChatGPT simply helped me remedy an enormous Gmail drawback—and I’ve lastly reached inbox zero
Share
Facebook Twitter LinkedIn Pinterest Email



ChatGPT is improper a variety of the time, however the cause why thousands and thousands of us use it’s as a result of, when it will get issues proper, there is not actually anything fairly prefer it.

I had that have not too long ago when wrestling with a seemingly easy Gmail drawback. Briefly, my inbox was uncontrolled, nicely into six figures for unread messages – and the mere presence of that quantity was a every day reminder of my poor housekeeping.

None of these unread emails had been notably vital. I might been labeling and replying to key ones, and utilizing filters to floor the must-reads. However I might let the weeds fully overwhelm the Gmail flower mattress, and it was high-time I acquired the trowel out.


You could like

No drawback, I believed, I will simply take the nuclear choice and do a large ‘choose all’ and ‘mark all as learn’ to offer me a clear slate. Besides doing that, in lots of variations, did not work. Gmail, it appears, has a secret inside restrict for bulk operations, and I used to be approach over that determine.

Even doing it in batches utilizing Gmail’s search operators wasn’t working. My ridiculous inbox had seemingly damaged Gmail’s mind, and Google was unable to assist.

Luckily, that is the place a software that I now deal with like an eccentric uncle (extremely good in some methods, worryingly mistaken in others) got here to the rescue…

Going off script

I’ve discovered ChatGPT to be most useful when it is taken my poorly-worded immediate and provide you with an answer that will have by no means crossed my thoughts in one million years. Often, this entails coding.

Join breaking information, evaluations, opinion, prime tech offers, and extra.

For my Gmail drawback, it instructed utilizing Google Apps Script. This platform is one thing I might by no means heard of (partly as a result of it is a Google Workspace factor), but it surely’s apparently a little bit of an unsung hero for automating easy duties, notably in apps like Docs, Sheets and Gmail.

Individuals use Gmail Apps Script, I’ve since realized, to automate all kinds of issues, from enterprise admin to sweepstake spreadsheets for buddies. However it was additionally the trick I wanted to get round Gmail’s cussed limits for bulk operations.

(Picture credit score: Google)

After the same old back-and-forth with ChatGPT, it refined a small script that searched my Gmail inbox in chunks of 500 unread threads and marked them as ‘learn’, till I hit the ‘inbox zero’ nirvana I might assumed it will be a lot easier to succeed in.


You could like

The method was so simple as going to Google Apps Script, clicking ‘New Mission’, pasting within the script (which ChatGPT assured me was “absolutely balanced and examined”), clicking the ‘Save’ icon, then hitting the ‘Run’ button. The script started whirring away within the background and I watched my inbox slowly tick all the way down to zero.

How do you utilize ChatGPT?

ChatGPT would not get its knowledge from nowhere and I’ve little doubt that its Gmail answer (possibly giant components of the script itself) had been ‘impressed’ by threads from the likes of Stack Overflow and Google Assist.

The factor is, Googling did not floor any of them and I used to be left operating round in circles earlier than ChatGPT intervened. The opposite massive energy of chatbots (once more, once they get issues proper) is that they are capable of tailor options and code to your precise state of affairs.

That does not imply you do not have to double-check every little thing they are saying, and I did have a small quantity of trepidation in operating a script I did not absolutely perceive on my Gmail account. However after scanning the very fundamental code for something troublesome, I used to be joyful to offer it a spin – and I am glad I did.

An iPhone on a blue and green background showing the ChatGPT app producing code for Google Apps Script

(Picture credit score: OpenAI / Apple)

For me, this barely dry however helpful train summed up how I presently use chatbots like ChatGPT, and it appears I am within the majority. A latest examine highlighted by Search Engine Land suggests {that a} huge 95% of ChatGPT customers nonetheless use Google – in different phrases, the chatbot is a complement to Google relatively than a alternative.

ChatGPT is, as I discussed earlier, that eccentric, typically genius uncle I am going to with thorny issues that I simply cannot remedy utilizing pre-chatbot methods. And whereas I actually do not belief his recall of reports occasions (a latest BBC examine discovered that 45% of AI chatbot solutions round information had a “vital challenge”), I will at all times come again to him for these flashes of inspiration.

For those who’re in an identical Gmail inbox conundrum to me and wish to strive a (presumably over-engineered) answer to succeed in inbox zero, this is the Google Apps Script code that labored for me (thanks, ChatGPT). My solely problem now’s staying there.

perform markAllAsReadSafe() {
  var searchBatchSize = 500; // what number of threads to request from Gmail directly
  var apiMax = 100;          // GmailApp.markThreadsRead accepts at most 100 threads per name
  var totalMarked = 0;

  do {
    // stand up to searchBatchSize unread threads (latest first)
    var threads = GmailApp.search('is:unread', 0, searchBatchSize);
    if (threads.size == 0) break;

    // course of in sub-batches of apiMax
    for (var i = 0; i < threads.size; i += apiMax) {
      var slice = threads.slice(i, i + apiMax);
      strive {
        GmailApp.markThreadsRead(slice);
        totalMarked += slice.size;
      } catch (e) {
        Logger.log('Error marking threads learn for slice beginning at ' + i + ': ' + e);
        // pause briefly and proceed
        Utilities.sleep(2000);
      }
      // small pause to cut back likelihood of throttling
      Utilities.sleep(500);
    }

    Logger.log('Marked ' + totalMarked + ' threads up to now.');

    // loop continues if Gmail returned a full batch (means there are most likely extra)
  } whereas (threads.size === searchBatchSize);

  Logger.log('Completed. Complete threads marked learn: ' + totalMarked);
}

Observe TechRadar on Google Information and add us as a most well-liked supply to get our skilled information, evaluations, and opinion in your feeds. Ensure to click on the Observe button!

And naturally you can too observe TechRadar on TikTok for information, evaluations, unboxings in video type, and get common updates from us on WhatsApp too.



Share. Facebook Twitter Pinterest LinkedIn Tumblr WhatsApp Email
Previous ArticleWatch India’s strongest rocket launch an enormous army communications satellite tv for pc to orbit at this time
Next Article High Wall Road analysts counsel these 3 dividend shares for enhanced complete returns
Avatar photo
Buzzin Daily
  • Website

Related Posts

Robin Hood episode 2 on MGM+ has creator’s ‘favourite cliffhanger’ – and it’s completely brutal

November 3, 2025

Week in Assessment: Hottest tales on GeekWire for the week of Oct. 26, 2025

November 3, 2025

Shifting previous hypothesis: How deterministic CPUs ship predictable AI efficiency

November 2, 2025

Bluesky is testing a ‘dislike’ button to repair the Uncover tab

November 2, 2025
Leave A Reply Cancel Reply

Don't Miss
Celebrity

Shona Steps Into The Highlight With Debut Single ‘Unapologetically Me’

By Buzzin DailyNovember 3, 20250

After greater than a decade as one in every of British tv’s most acquainted faces,…

High Child Identify Tendencies Impressed by TV Exhibits and Cottagecore Model

November 3, 2025

PETA Calls on President to Cease Animal Abuse at Grand Egyptian Museum

November 3, 2025

Commanders’ Jayden Daniels suffers horrific arm damage in chilling scene

November 3, 2025
  • Facebook
  • Twitter
  • Pinterest
  • Instagram
  • YouTube
  • Vimeo

Your go-to source for bold, buzzworthy news. Buzz In Daily delivers the latest headlines, trending stories, and sharp takes fast.

Sections
  • Arts & Entertainment
  • Business
  • Celebrity
  • Culture
  • Health
  • Inequality
  • Investigations
  • National
  • Opinion
  • Politics
  • Science
  • Tech
  • World
Latest Posts

Shona Steps Into The Highlight With Debut Single ‘Unapologetically Me’

November 3, 2025

High Child Identify Tendencies Impressed by TV Exhibits and Cottagecore Model

November 3, 2025

PETA Calls on President to Cease Animal Abuse at Grand Egyptian Museum

November 3, 2025
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms of Service
© 2025 BuzzinDaily. All rights reserved by BuzzinDaily.

Type above and press Enter to search. Press Esc to cancel.

Sign In or Register

Welcome Back!

Login to your account below.

Lost password?