Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support filtering backup by address #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Tristan-Wilson
Copy link

In Proton Mail you can have multiple addresses associated with an account. To delete an address you must delete all messages associated with that address. Previously the backup tool only supported exporting emails from all addresses in the account. This PR adds the ability to filter which address to export with the -a/--address command line option. The default remains to export emails from all addresses.

Testing performed

./build/cli/proton-mail-export-cli --operation backup -d tmp/ -u [email protected] --address myaddress -k

I spot checked a few different addresses to confirm they contained the emails for those addresses.

In Proton Mail you can have multiple addresses associated with an
account. To delete an address you must delete all messages associated
with that address. Previously the backup tool only supported exporting
emails from all addresses in the account. This PR adds the ability to
filter which address to export with the -a/--address command line
option. The default remains to export emails from all addreses.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant