Re: Only download emails older than x days

Mauricio Tavares <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <CAHEKYV4+PoPXgw9COWBYVxKqW_EWaX8H3kUKVJXcoEdrxg7aoQ@mail.gmail.com>
On Tue, Feb 26, 2019 at 11:53 AM Charles Cazabon
<[email protected]> wrote:
>
> Mauricio Tavares <[email protected]> wrote:
> > I have a ton of emails in my gmail account and would like to only
> > download (and delete from gmail after that) only those emails that are
> > older than X days.
>
> getmail does not have a feature to avoid downloading new mail.  No one's ever
> asked for such, and it doesn't strike me as terribly useful.
>
      My use case is to keep only somewhat recent emails (say within
the last year) in gmail and archive the rest. This way I do not keep a
ton of emails there.

> However, it does have a feature to download mail immediately but only delete
> it from the server after a period of time -- see the delete_after option.
> That's probably what you actually want.
>
      If I was starting afresh it would make sense. Right now I have
years of emails I would rather pull down and later on go through them
and delete the ones I do not want (as if that is going to happen ;) ).

> Charles
> --
> -----------------------------------------------------------------------
> Charles Cazabon
> GPL'ed software available at:               http://pyropus.ca/software/
> -----------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.