Live data from Hacker News

Himalaya: CLI to Manage Emails

github.com

21–30 of 102 posts

Re: Himalaya: CLI to Manage Emails

#21
post #14
post #8

I still use mutt on a daily basis. Being able to select emails using regular expressions is super useful. IMAPFilter is also simple and powerful to quickly sort email.

What do you use to fetch email? mbsync keeps messing up the UID of emails with gmail.

Just Mutt's IMAP support.

Re: Himalaya: CLI to Manage Emails

#22
post #14
post #8

I still use mutt on a daily basis. Being able to select emails using regular expressions is super useful. IMAPFilter is also simple and powerful to quickly sort email.

What do you use to fetch email? mbsync keeps messing up the UID of emails with gmail.

Personnaly, I use https://gitlab.com/shackra/goimapnotify , you can add a `~/.config/imapnotify/{{ youremailaddresshere }}.yaml` config file for each of your email addresses and enable and start it as a systemd service with `systemctl --user enable ---now goimapnotify@{{ youremailaddresshere }}.service`

Here is and example of a config file for a gmail address :

```

  host: imap.gmail.com
  port: 993
  tls: true
  tlsOptions:
    rejectUnauthorized: false
  username: {{ youremailaddresshere }}
  password: ''
  passwordCMD: pass mw/{{ youremailaddresshere }} | head -n1
  onNewMail: mailsync {{ youremailaddresshere }} | while read OUTPUT; do notify-send "" "$OUTPUT"; done
  onNewMailPost: ''
  onDeletedMail: ''
  onDeletedMailPost: ''
  boxes:
    - INBOX
```

Re: Himalaya: CLI to Manage Emails

#23
post #11

Honest question - Why use interfaces like this, but not regular HTML client?

There are many choices for email client interfaces. HTML for email does not have a good reputation among hackers. After all, email can be considered an ancient technology and is historically based on plain text - HTML breaks not only the philosophy but also many of the tools developed around email. I have found a sweet spot for an email client between a pure CLI and a full-featured (HTML) GUI client - I use Emacs Gnu…

> HTML breaks not only the philosophy but also many of the tools developed around email

I was one of these die-hard-text-only people, back in the mid to late 90s. It was true. People were sending HTML/rich text emails, and it broke everything, and it was awful to read with. Not to mention the kilobytes of bandwidth wasted!

But it's 2024 now. There are vastly more tools that can deal with HTML email than those that can't. Like, I wouldn't be surprised if it's 4 orders of magnitude.

Sorry, folks, we lost. Email is not plain text any more. We can't pretend that it is or should be.

Re: Himalaya: CLI to Manage Emails

#24
post #5

After testing many clients I learnt to stop worrying and just use Mail app.

I just wish that Mail.app would have a seamless ingegration with Calendar.app like Microsoft already provides with Outlook. Also the label system feels very outdated compared to Outlook.

Re: Himalaya: CLI to Manage Emails

#25
post #14
post #8

I still use mutt on a daily basis. Being able to select emails using regular expressions is super useful. IMAPFilter is also simple and powerful to quickly sort email.

What do you use to fetch email? mbsync keeps messing up the UID of emails with gmail.

offlineimap does the job for me I use it with Gmail and owa (trough davmail)

Re: Himalaya: CLI to Manage Emails

#26
post #23

Earlier quoted context omitted.

There are many choices for email client interfaces. HTML for email does not have a good reputation among hackers. After all, email can be considered an ancient technology and is historically based on plain text - HTML breaks not only the philosophy but also many of the tools developed around email. I have found a sweet spot for an email client between a pure CLI and a full-featured (HTML) GUI client - I use Emacs Gnu…

> HTML breaks not only the philosophy but also many of the tools developed around email I was one of these die-hard-text-only people, back in the mid to late 90s. It was true. People were sending HTML/rich text emails, and it broke everything, and it was awful to read with. Not to mention the kilobytes of bandwidth wasted! But it's 2024 now. There are vastly more tools that can deal with HTML email than those that ca…

Perhaps LLMs can solve this somewhat? Not for email summarization - but to intelligently strip away all the HTML fluff and return a plain text version of the contents.

Re: Himalaya: CLI to Manage Emails

#28
post #14

Earlier quoted context omitted.

What do you use to fetch email? mbsync keeps messing up the UID of emails with gmail.

Personnaly, I use https://gitlab.com/shackra/goimapnotify , you can add a `~/.config/imapnotify/{{ youremailaddresshere }}.yaml` config file for each of your email addresses and enable and start it as a systemd service with `systemctl --user enable ---now goimapnotify@{{ youremailaddresshere }}.service` Here is and example of a config file for a gmail address : ``` host: imap.gmail.com port: 993 tls: true tlsOptions:…

> format

indent it with 2+ spaces

  like
  this

Re: Himalaya: CLI to Manage Emails

#29
post #23

Earlier quoted context omitted.

> HTML breaks not only the philosophy but also many of the tools developed around email I was one of these die-hard-text-only people, back in the mid to late 90s. It was true. People were sending HTML/rich text emails, and it broke everything, and it was awful to read with. Not to mention the kilobytes of bandwidth wasted! But it's 2024 now. There are vastly more tools that can deal with HTML email than those that ca…

Perhaps LLMs can solve this somewhat? Not for email summarization - but to intelligently strip away all the HTML fluff and return a plain text version of the contents.

Apple Intelligence already does this in the line summary.

Re: Himalaya: CLI to Manage Emails

#30

Earlier quoted context omitted.

Personnaly, I use https://gitlab.com/shackra/goimapnotify , you can add a `~/.config/imapnotify/{{ youremailaddresshere }}.yaml` config file for each of your email addresses and enable and start it as a systemd service with `systemctl --user enable ---now goimapnotify@{{ youremailaddresshere }}.service` Here is and example of a config file for a gmail address : ``` host: imap.gmail.com port: 993 tls: true tlsOptions:…

> format indent it with 2+ spaces like this

Thanks!
Post reply on HN