go-imap
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-imap
-
Mail has saved over a thousand draft emails to the wrong folder
The way I eventually solved it was to create a custom script in Go (using the emersion/go-imap library) that could interact with the IMAP server, retrieve all of the emails and then checking the headers and then moving them to the bin. Took about 60 seconds to process 44,000 emails and remove over 1,000 drafts that were in the wrong place.
-
Bridge and Thunderbird Trash
They are going to replace go-imap with gluon. That's an effort which has been going on for quite a while.
-
Proton Bridge: Message UIDs are not stable / possible data loss (deletion of wrong messages)
Yeah, this really need attention now. I'm spotting the go-imap (which seems to be the real culprit) replacement being worked on, which is great! But, u/ProtonMail and u/bartbutler, please push all you can internally.
-
Our ProtonMail Adventure – A Five Act Drama
they seem to blame go-imap (https://github.com/emersion/go-imap). at a quick glance the library itself doesn't seem to have an open issue describing the problem.
curious if that author's (deprecated) protonmail bridge hydroxide (https://github.com/emersion/hydroxide) has the same problem.
-
Some amazing Golang email libraries
github.com/emersion/go-imap
-
How to Send Emails in Go
Okay, we’ve taken care of the recipients. Now, what if we want to include an attachment with our message? Golang uses the mime/multipart method by default for this purpose, but it’s far from straightforward. That’s why developers prefer 3rd-party libraries that simplify the process without adding too much boilerplate. Among them, Jordan Wright’s “email” library is the most popular. It can also be used to add cc or bcc along with other features. We strongly recommend it.
What are some alternatives?
MailHog - Web and API based SMTP testing
Gomail - The best way to send emails in Go.
SendGrid - The Official Twilio SendGrid Golang API Library
go-simple-mail - Golang package for send email. Support keep alive connection, TLS and SSL. Easy for bulk SMTP.
Trumail
go-dkim - DKIM package for golang
hermes - Golang package that generates clean, responsive HTML e-mails for sending transactional mail
Mailchain - Using Mailchain, blockchain users can now send and receive rich-media HTML messages with attachments via a blockchain address.
smtp - MailHog SMTP Protocol
go-mail - :incoming_envelope: Simple email interface across multiple service providers (ses, postmark, mandrill, smtp)