7 return subprocess
.check_output('pass mail/mart@martlubbers.net',
8 shell
='/bin/bash').strip()
12 match
= re
.match('archive\.(\d\d\d\d).(\d\d)', x
)
14 return abs(datetime
.date
.today() -
15 datetime
.date(int(match
.group(1)), int(match
.group(2)), 1)
18 return not x
.startswith('archive') and not (x
== "INBOX.Junk")