Unsubscribe feature #2

Closed
opened 2025-03-17 01:30:11 -04:00 by anna-st-40 · 0 comments
anna-st-40 commented 2025-03-17 01:30:11 -04:00 (Migrated from github.com)

When unsubscribe button is pressed:

  1. Show a popup confirmation showing:
    • the number of emails being deleted
    • the number of senders selected
    • toggle button (on by default) to also delete emails
    • "Confirm" button
  2. Fetch last email from that sender
  3. Attempt to find link with "Unsubscribe"
    • If found:
      • show message: "Found unsubscribe link! Redirecting now..."
      • redirect to that link
      • ask whether want to also block sender
    • If not found:
      • show message: "Unable to find unsubscribe link. Block sender instead?"
  4. (If user selects) Block sender
    • Create filter using Gmail API
When unsubscribe button is pressed: 1. Show a popup confirmation showing: - the number of emails being deleted - the number of senders selected - toggle button (on by default) to also delete emails - "Confirm" button 2. Fetch last email from that sender 3. Attempt to find link with "Unsubscribe" - If found: - show message: "Found unsubscribe link! Redirecting now..." - redirect to that link - ask whether want to also block sender - If not found: - show message: "Unable to find unsubscribe link. Block sender instead?" 4. (If user selects) Block sender - Create filter using Gmail API
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
InboxWhiz/gmail-declutter-extension#2
No description provided.