Skip to content

Added another server functionality : 'Gmail Batch Deletion on command…#2

Open
dishaadora wants to merge 1 commit into
giuseppe-coco:masterfrom
dishaadora:master
Open

Added another server functionality : 'Gmail Batch Deletion on command…#2
dishaadora wants to merge 1 commit into
giuseppe-coco:masterfrom
dishaadora:master

Conversation

@dishaadora
Copy link
Copy Markdown

… after fetching recieved IDs' using Google's Gmail RESTful API using the method batchDelete. The host fetches the IDs and displays in a list, lets the user choose which IDs to delete the mails from and does the task after selection.

… after fetching recieved IDs' using Google's Gmail RESTful API
@giuseppe-coco
Copy link
Copy Markdown
Owner

Hi @dishaadora , thank you for the PR!

There are a few issues you may need to consider:

  • Mass deletion is dangerous. Please provide some kind of explicit confiramtion from the user.
  • Add the scope to write in Gmail
    • If deletion fails mid-way (network error, auth refresh...), some emails might be deleted, some not—there's no recovery, rollback or idempotence guarantee.

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.

2 participants