News for hackers. Stuff that matters.
Re:Export all images from your Gmail account – Mail Memories by DaveExeter on Wednesday September 20, 2023 @07:58PM (#37591637)
Can't you do this with a simple script?

  function downloadAllGmailPictures() {
  // Get all Gmail messages.
  var messages = GmailApp.getInboxThreads();

  // Create a folder in Google Drive to store the pictures.
  var folder = DriveApp.createFolder("Gmail Pictures");

  // Iterate over all messages and download any attached pictures.
  for (var i = 0; i < messages.length; i++) {
    var message = messages[i];
    var attachments = message.getAttachments();

    for (var j = 0; j < attachments.length; j++) {
      var attachment = attachments[j];

      // Only download pictures.
      if (attachment.getContentType().indexOf("image/") == 0) {
        // Save the picture to Google Drive.
        var file = folder.createFile(attachment.getName(), attachment.getBytes());
      }
    }
  }
}
Re:Export all images from your Gmail account – Mail Memories by bilekas on Thursday September 21, 2023 @03:11AM (#37594167)
Yeah But I think like most things it's the convenience factor and they also present it in a library. What really bugs me is the opaque pricing..

Edit : did you just prompt copilot for this code? It's not going to work that way...

Re:Export all images from your Gmail account – Mail Memories by ltiger on Thursday September 21, 2023 @11:34AM (#37599219)
Just updated the pricing details - You can get all of year's photos for $5.
Re:Export all images from your Gmail account – Mail Memories by DaveExeter on Thursday September 21, 2023 @02:13PM (#37601624)
I used https://bard.google.com/

Have not tried it yet. Does it need debugging?