0

When I list folders I don't have 'snoozed' folder there. I Googled and it seems like 'snoozed' is sort of internal label that is not available through IMAP (is it correct??). So I want to find where 'snoozed' mails are really kept.

  1. Can I do it using fetch command for instance? How?
mouse_00
  • 593
  • 3
  • 13

1 Answers1

0

There is a really good explanation that this is something that it's not possible in this thread.

Pretty much the Snooze feature is implemented internally within Gmail UI and so Imap clients won't be able to replicate this behavior, therefore you won't be able to find emails snoozed when using a mail client.

Gabriel Carballo
  • 1,278
  • 1
  • 3
  • 9
  • But where are 'snoozed' messages really kept? As far as I understood, I can't access 'snoozed' folder, but what about messages? – mouse_00 Mar 24 '22 at 08:12
  • 1
    The messages are in the allmail folder. You can try to snooze a message, then find it in allmail and try `x uid fetch 1234 (flags x-gm-labels)`, maybe the currently deployed code publishes either a flag or a label. (Your next question is perhaps [how to find the allmail folder,](https://datatracker.ietf.org/doc/html/rfc6154) whose name depends on language.) – arnt Mar 24 '22 at 11:40
  • [Arnt](https://stackoverflow.com/users/857727/arnt) is right, emails snoozed are in the allmail folder, the way that a snoozed email is managed within Gmail UI is not managed by adding the email to a different folder as these are special labels as: `label:pinned`, `label:trips`, etc. You can query them through API as noted in this [thread](https://stackoverflow.com/questions/48828695/android-java-mail-gmail-mark-as-unread-inbox-snooze) – Gabriel Carballo Mar 24 '22 at 16:44