OfflineIMAP / offlineimap

Read/sync your IMAP mailboxes (python2) [LEGACY: move to offlineimap3]
http://www.offlineimap.org
Other
1.78k stars 360 forks source link

Sync recent mails #727

Open bkkavin opened 2 years ago

bkkavin commented 2 years ago

maxage or startdate doesn't seem to work. I have given gmaildir and gmail options. In the config file it is said that startdate is only supported for IMAP and not gmail. I saw your blog post saying maxage is deprecated or smtg. What should I do to download only past 5 day's email or from a particular date.

Docbroke commented 1 year ago

I think you can use maxage if you change options to imap (remote) and maildir (local) or you can use startdate with imap (remote) and imap (local). I haven't tried maxage or startdate but I know that gmail can be used with imap (remote) option.