Live data from Hacker News

Trying Gnus as an Email Client

gluer.org

31–40 of 47 posts

Re: Trying Gnus as an Email Client

#31
post #28
post #15

Earlier quoted context omitted.

I had to stop around the time of 2fa, as well. Hoped there was a way around that by now. (Well, not around, but with.)

2FA in what context? App passwords, XOAUTH2, Kerberos pre-auth...? OTP or FIDO? You should be able to work with them anyway.

"advanced security". It doesn't allow app passwords. At least, that used to be the case. Using security keys.

Re: Trying Gnus as an Email Client

#32
I've been using Emacs for more than a quarter century, 99.9999% of the time text-only (whether Linux console, X terminal console, xterm, or SSH client) on a remote server. My email client is VM, written in Emacs Lisp. I've used it to read mail for almost as long as I've used Emacs. I tried Gnus a couple of times for Usenet but stayed with slrn because of Emacs's lack of multithreading.

I've never tried Gnus for email because VM has always met my needs. VM (and ancillary tools, like Personality Crisis and mairix)

* does a great of job displaying HTML messages. For the very few that it doesn't, one keystroke sends the message to my web browser running locally.

* sends URLs I select (all from the keyboard) to the web browser

* opens images and attachments

* auto-adjusts the From: line of outgoing messages depending on the recipient

* archives messages to various folders using various criteria

* searches my archived mail going back a quarter century at lightning speed

Of course, I can write Emacs Lisp code of my own to extend any or all of the above.

VM isn't perfect. I'm sure that I could do all of the above with Gnus, and quite possibly am missing out on other features that VM lacks. Overall, though, I really feel like I have a superpower for email handling with it.

Re: Trying Gnus as an Email Client

#33
post #17

I used to run mu4e with my gmail accounts, those were fun times. That unfortunately no longer seems to be possible since Gmail, Outlook and others no longer provide SMTP service in the name of two factor authentication. Keeps my blood boiling as now every email provider has its own API. Anyway, what email providers do people use today? One I found with SMTP support tends to be directed to spambox by Gmail.

I don't know about Outlook and others, but you can still use any client you want, both for IMAP and SMTP access, using application passwords[1]. I have been doing that for years, both for Gmail and Google Workspace, without any issue. [1] https://support.google.com/accounts/answer/185833?hl=en

Is there an option for the folks on the security that disables app passwords?

Re: Trying Gnus as an Email Client

#34
post #5

I switched from (neo)mutt to Gnus and never looked backed. Gnus has a much nicer user experience and the integration into Emacs alone is worth switching. What I particularly like: I can use the native IMAP server-side search with Gnus' own syntax. This means I have never been tempted to look at search/index specialized clients like notmuch or mu4e. https://www.gnu.org/software/emacs/manual/html_node/gnus/Sea... EDIT:…

I'm curious how you had such great luck with Gnus IMAP. I'm a Gnus user myself, but I had to switch to local Maildir because I couldn't get a workable experience with the IMAP configuration. Specifically, Gnus would freeze Emacs for several minutes every time I loaded Gnus. This mostly seemed to be a problem when I accessed an account with more than 10,000 items in a mail folder. Running the same folder in a local Ma…

Using Fastmail and nnimap in Gnus, I only block for about 1 sec to check emails. I tried my Gmail account, but results were much worse, several secs.

Re: Trying Gnus as an Email Client

#35
I used gnus for email (and ERC for IRC) for a few years starting around 23 years ago. The showstopper was the lack of async I/O and multithreading in GNU emacs, so the more you do inside emacs, the more everything regularly freezes up if you want your inbox to stay up to date.

Is GNU Emacs multithreaded or async yet? It was, uh, a few years away a few decades ago.

Re: Trying Gnus as an Email Client

#36
Is there any reason someone would consider switching to gnus from mu4e? I'm always open to, and quite enjoy, trying new things in emacs when it seems promising but am not familiar with the relevant differences.

Re: Trying Gnus as an Email Client

#37
post #30

I prefer Mu4e and msmtp/lbsync.

You say you prefer mu4e which seems to imply you tried or looked into gnus. What were the reasons that made you prefer mu4e? I use mu4e right now but am considering checking out gnus, would like your reasoning for doing the opposite.

Re: Trying Gnus as an Email Client

#38
post #31
post #28

Earlier quoted context omitted.

2FA in what context? App passwords, XOAUTH2, Kerberos pre-auth...? OTP or FIDO? You should be able to work with them anyway.

"advanced security". It doesn't allow app passwords. At least, that used to be the case. Using security keys.

I assume that's oauth2 (which xoauth2 implies). It works for me with O365 and a Duo key for multiple clients.

Re: Trying Gnus as an Email Client

#39

I used gnus for email (and ERC for IRC) for a few years starting around 23 years ago. The showstopper was the lack of async I/O and multithreading in GNU emacs, so the more you do inside emacs, the more everything regularly freezes up if you want your inbox to stay up to date. Is GNU Emacs multithreaded or async yet? It was, uh, a few years away a few decades ago.

Emacs is not multithreaded, but it has supported async/cooperative threads for a very long time (at least since before I started using it almost a decade ago). Modern packages are generally written to not block while doing something like fetching updates. Gnus still blocks. Someone rewrote it to no longer block, but it is a very large change, and GNU Emacs is unlikely to have non-blocking Gnus anytime soon. I just run Gnus with a separate daemon.

Re: Trying Gnus as an Email Client

#40

Is there any reason someone would consider switching to gnus from mu4e? I'm always open to, and quite enjoy, trying new things in emacs when it seems promising but am not familiar with the relevant differences.

I've used both. Mu4e is a lot simpler for email. I plan to eventually switch to Gnus for everything since it handles so much more than just mail (feed reader, hacker news, reddit, twitter, newsgroups, etc.), but mu4e is much easier to set up. Gnus really shines when you need to deal with a higher volume of messages than you will ever read.

Mu4e now uses Gnus' code for viewing emails by default. Mu4e's headers mode will look a lot nicer than Gnus' article mode though.

Gnus is massive and has a huge learning curve. It would be great if you are working with very active mailing lists. If you're dealing with a small amount of email, there won't be much benefit.

Post reply on HN