Commit graph

19 commits

Author SHA1 Message Date
9129ec9a34
Run cargo fmt
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-08-22 12:23:51 +05:30
38a3fb72a6
Add a check to prevent purging everything
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-08-22 12:23:13 +05:30
4d860b8d6a
Add print on purge finish
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-08-22 11:34:59 +05:30
2ff13e7f97
Use a file to handle multiple patterns
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-08-22 11:10:04 +05:30
bd5b25a9b8
Bump rust version
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-08-22 11:09:43 +05:30
3ab90997e0
Add patterns file to gitignore
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-08-22 11:09:09 +05:30
a112607d40
Run cargo fmt
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-08-22 11:00:15 +05:30
792d27d9eb
Be more clear on the mail deleted
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-08-22 10:59:18 +05:30
a01b10a01f
Dont log if message doesnt match
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-08-22 10:39:48 +05:30
034deb3ba1
Move all the creds to env vars
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-08-22 10:38:55 +05:30
8fc2e167f4
Bump up all dependencies
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-08-22 10:24:27 +05:30
61d1182acb
Use commandline args for credentials and pattern
`Use cargo run username password pattern` to execute

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2021-07-10 03:45:56 +00:00
b18ac50ef4
Compile regex expression only once
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2021-07-09 11:04:35 +00:00
1adcf95a19
Dont panic incase the message couldnt be parsed
Supply defaults to make the loop continue parsing

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2021-07-09 11:03:40 +00:00
7d270815da
Inline with 3.0 IMAP changes
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2021-06-17 11:08:17 +00:00
d6c6910b02
Uprev deps
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2021-06-17 10:48:50 +00:00
13ded3d132
License and add readme
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
Change-Id: Icdaf730acd379e45cf76705424c1394ef3aa5f07
2020-12-25 00:33:53 +05:30
4f1668b350
Init very basic mail deleter
Deletes matching patterns with regex

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
Change-Id: I8a68baedd2d8d1b60436eecbffd24e4b9e33a08c
2020-12-25 00:24:10 +05:30
f478232920
Root Commit
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
Change-Id: I1eacdd4bf02fecb045e2a12f836c200d47a46afe
2020-12-24 20:34:49 +05:30