Quickly unsubscribe from emails with the N1-Unsubscribe plugin for Nylas N1.
N1-Unsubscribe acts in one of two ways. First, it looks if it can unsubscribe via email. If it can, the plugin will send an unsubscribe request email on your behalf. Second, if no email is available, the plugin looks for a link in the body of the email, such as "click to unsubscribe." The plugin can then open the link in a mini-browser to complete the unsubscription without leaving Nylas. When unsubscribed, the email is then trashed or archived based on your selected option (see settings below).
-
Download and unzip
n1-unsubscribe.zip
from the Releases page. -
In N1, Select the menu bar option
Developer > Install a Plugin...
, then select the unzipped folder,n1-unsubscribe
-
You should now see the plugin in the plugins pane in N1 (
Preferences > Plugins
).
Loading -- wait for a moment for the icon to update
Ready to unsubscribe and waiting on your click
You are now unsubscribed!
When something goes wrong, you will get this error icon. Make sure to forward us the email causing you problems to [email protected] and we will try to see what went wrong!
Certain features for this package can be toggled by changing the appropriate settings from within unsubscribe-settings.json
. The settings file isn't tracked, so once you edit it, your preferences will be saved even when updating. You can see the default file here: unsubscribe-settings.defaults.json
.
To change any of these settings, first install the package and modify ~/.nylas/packages/unsubscribe-settings.json
. To update your settings in the app, just reload N1 (Alt + Cmd + L or Developer > Reload
).
- use_browser: Toggle between opening web-based unsubscribe links in your native browser or an in-app pop-up window (default: pop-up).
- handle_threads: Toggle between automatically archiving, trashing or not moving your email anywhere after unsubscribing (default: archive).
- confirm_for_email: Toggle a confirmation box on or off before sending an automatic unsubscribe email (default: off).
- confirm_for_browser: Toggle a confirmation box on or off before opening a browser window to unsubscribe from an email (default: off).
More documentation of these toggles is available in the settings file.
N1-Unsubscribe now supports keyboard shortcuts! Press CMD + ALT + U when viewing a single email instead of pressing the button. Unsubscribing couldn't be faster. If you want to map your own shortcut keys:
-
Go to:
Nylas->Preferences
-
Click the
shortcuts
tab -
Then scroll to the bottom and click the
Edit Custom Shortcuts
button -
From the finder window, open keymap.json in a text editor and add this snippet (replace
mod+j
with whatever shortcut you want - note mod is the super key on a Mac/PC):For keymap.json:
{ "n1-unsubscribe:unsubscribe": "mod+j" }
Alterantively if you use Keymap.cson, you know what to do!
Whenever an update is released, you will get a native notification. If you would like to add the same banner to your application, see our related NPM package - n1pluginupdater
- Feature Requests or Bug Reports: Submit them through the issues pane
- Mishandled Emails: Find something that doesn't work (not finding an unsubscribe link, etc.)? Forward the email to us at [email protected] and we will look into it
Do you want to install via git? Want to learn more about how N1-Unsubscribe works? Check out the extended guide
Kyle King and Colin King