GithubHelp home page GithubHelp logo

Comments (5)

gilleslamiral avatar gilleslamiral commented on June 18, 2024 1

How about the other default [Gmail]/* folders?
Good point, that makes sense indeed.

In which order then?

For now, I thought about this order
'[Gmail]/Sent Mail', '[Gmail]/Important', '[Gmail]/Starred', '[Gmail]/Drafts', '[Gmail]/Trash', '[Gmail]/Spam', '[Gmail]/Chats', '[Gmail]/All Mail'

The rule is: if a message is in several folders in this list then the first folder will be the destination.

from imapsync.

gilleslamiral avatar gilleslamiral commented on June 18, 2024

Option --delete2duplicates deletes duplicates in the same folder, not across folders.

What would you recommend to clean the Inbox from duplicates?

Nothing really good.
You can try --delete2 --search "SENTBEFORE 31-Mar-2024" if the new emails started to come after 31-Mar-2024

Do you think it might be relevant to include --folderlast 'INBOX' (and maybe even --folderlast '[Gmail]/Important' too) to the default --gmail config so that it does not happen to other people?

Yes, it sounds good.
How about the other default [Gmail]/* folders?

[Gmail]/Chats
[Gmail]/Drafts
[Gmail]/Sent Mail
[Gmail]/Spam
[Gmail]/Starred
[Gmail]/Trash

from imapsync.

keomabrun avatar keomabrun commented on June 18, 2024

You can try --delete2 --search "SENTBEFORE 31-Mar-2024" if the new emails started to come after 31-Mar-2024

ok, I will do this 👍

How about the other default [Gmail]/* folders?

Good point, that makes sense indeed.

Just to make sure I fully understand this: the option --skipcrossduplicates that is embedded with --gmail1 did not prevent the cross-duplicates to be created in my case. Is this because the duplicate detection is calculated on the fly, folder by folder, and thus dependent on folder ordering ?
Would it make sense, or be over-complexifying the system to have a --check-first option or similar, to tell imapsync to check duplicated over all folders before running the actual sync ? (I have been using rclone recently and this feature was very useful for file transfers).

Thank you for the swift answers !

from imapsync.

gilleslamiral avatar gilleslamiral commented on June 18, 2024

Just to make sure I fully understand this: the option --skipcrossduplicates that is embedded with --gmail1 did not prevent the cross-duplicates from being created in my case. Is this because the duplicate detection is calculated on the fly, folder by folder, and thus dependent on folder ordering?

Yes.

Would it make sense, or be over-complexifying the system to have a --check-first option or similar, to tell imapsync to check duplicated over all folders before running the actual sync ? (I have been using rclone recently and this feature was very useful for file transfers).

It's too complicated for me.
Folder by folder is a design decision I made initially and it would be complicated to switch to a two-passes behavior and even more to make this two-passes behavior an option.

from imapsync.

keomabrun avatar keomabrun commented on June 18, 2024

For now, I thought about this order
'[Gmail]/Sent Mail', '[Gmail]/Important', '[Gmail]/Starred', '[Gmail]/Drafts', '[Gmail]/Trash', '[Gmail]/Spam', '[Gmail]/Chats', '[Gmail]/All Mail'

Perfect 🆗

Folder by folder is a design decision I made initially and it would be complicated to switch to a two-passes behavior and even more to make this two-passes behavior an option.

Alright, that makes a lot of sense !

Thank you again for the answers 🙌

from imapsync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.