32 points · by zenorocha · 3y ago · 28 comments
Pop is a Text-based User Interface (TUI) that allows you to send emails without having to switch context from your command-line interface.
Here's why I'm obsessed with Pop:
1. You can write an email body with AI
2. You can easily install using Homebrew
3. You can do some really powerful stuff like generating a PDF and sending an invoice via email entirely from the command line
The email sending part is taken care by Resend, another developer-first product, which makes it the perfect integration for this.
As a developer, I live in the terminal. And I would love to hear how other developers feel about this. We would love to hear your ideas, experiences, and feedback.
https://www.makeuseof.com/install-configure-mutt-with-gmail-...
sendmail user@example.com < email.txt
mail -s "Test Subject" user@example.com < body.txt
What keeps me from actually using this, is the lack of Address Book, as I don't memorize email addresses from all my friends and colleagues. Any suggestions on how to integrate my Gmail Address book into a command line workflow?[1] https://stackoverflow.com/questions/57410259/how-to-send-an-...
So if you had aliased "user@example.com" to "bob", you could do:
mutt -s "Test Subject" bob < body.txt
I do not know of a way to automatically generate a mutt alias file from a gmail address book.[1] Mutt refers to its address book as "aliases".
`pop --to $(fzf contacts.txt)`
Please add a disclaimer that you're one of the founders of Resend. I had no idea before clicking on your profile.
Except that with "standard" mail you only need a provider or self-hosted server, and not a RESEND_KEY
To me, it looks like "reinventing the wheel"... Did I miss something ?
BTW: content generation (AI, email) is not email sending, so you can still generate content with other tools and send it with a simple "mail" command
NOPE. no thank you. cURL can already do this:
https://stackoverflow.com/questions/14722556/using-curl-to-s...
ehlo mailback
mail from: myemail@somewhere.com
rcpt to: whoever@anywhere.com
data
mail from: "my name" <myemail@somewhere.com>
rcpt to: "their name" <whoever@anywhere.com>
subject: whatever
mail text goes here but don't forget an empty line between subject line and this line (as a separator of header and body)
and here
and end mail text by a single dot in a single line like this
.
quit
for attachments or other advanced features you can use mutt, pine, or any other mail app. you can also do:
cat mail-text.txt | mail -s "subject goes here" whoever@anywhere.com
Of course, these days, the connection should be wrapped within a TLS session and openssl s_client could be a good alternative to telnet for doing that.
I'm going to contradict myself here, but soft-serve is also phenomenal, but only works with self hosted git, but not gitlab. This is great (as said before, cloud should not be default) but sometimes you want to connect to a well known standard git server like gitlab.
Anyway, this looks great, despite the existence of aerc, etc. I think it's a welcome addition, but if the additionally API key can be removed, and if it can work with complicated emails like Oath 2 and Microsoft office webmail, it will likely take off.
It mixes several concerns that I would typically assign to separate applications, such as fzf and $EDITOR.
echo "mail body" | swaks -t mail@to -s server -tls -a LOGIN -au mail_login -ap password --from from@mail --h-Subject subject --body -
and mail is send ;-)
For instance, I'd love to see a good to-do list. I've tried a couple but they underwhelmed me.