3 ms·
The three features that my ideal mail client has are: 1. ability to snooze emails 2. rich handling of things like calendar invites, flight reminders, attachme
by z1mm32m4n 11y ago
The three features that my ideal mail client has are:
1. ability to snooze emails
2. rich handling of things like calendar invites, flight reminders, attachments, etc.
3. Vim keybindings for message composition
From other comments, it sounds like you're working on (2). How about (1) and (3)? I took a look at some of the documentation for plugins. Do these sound like features that could be easily added through plugins?
For example, Atom has a package for Vim keybindings [1]. How far from has N1 diverged from "dropping Atom packages in"?
[1]: https://github.com/atom/vim-mode https://github.com/atom/vim-mode
- bengotow 11y agoHey! I'm an engineer on N1 and I can talk about (1) and (3): 1. Snoozing emails would be great. You could totally do this client-side in a plugin using our current developer APIs, by moving snoozed threads to a label/folder, and then moving them back after a prescribed time. Might be a fun project! Feel free to ping us on our community slack channel if you want to try. 3. N1 uses the exact same package structure as Atom, but we're using the CommandRegistry less, and introducing our own UI layer concepts like the ComponentRegistry (for dynamically injecting React elements.) There are probably a handful of Atom packages you could load into N1, but probably only well-contained ones with very minimal UI. Our composer unfortunately doesn't share any code with Atom's text view - we needed to do rich HTML editing, so we wrote our own composer based on `contenteditable`. Vim keybindings for the composer are also a great idea. There's actually an API for creating `DraftStoreExtensions` (https://nylas.com/N1/docs/DraftStoreExtensions.html https://nylas.com/N1/docs/DraftStoreExtensions.html), and if you implement `onInput` in your extension you can probably re-create vim keyboard handling. Unfortunately, that's a bit low-level: right now, the composer is not as easy to extend as Atom's editor. We've put a lot more effort into extensibility of the thread / message panels and views. Enjoy! Feel free to reach out on the community slack channel if you have any other questions.