I was in need for replacing the deprecated Gmailify feature, and after spending a few days trying existing solutions I didn't find one that worked for me.
I initially built this as a Node.js app that I got running on my Synology for the past 2 months without an issue, then decided to rewrite it to Go and explore alternative forwarding approaches as the original IMAP append solution was not going through gmail spam filter.
Went from ~50MB peak RAM usage with Node.js to ~12MB with the go version, reducing the container image from ~170MB to just 14MB.
Current version is a single static binary, Docker-ready, that supports multiple source accounts, selective folder monitoring, and auto-cleanup of forwarded messages.
I was in need for replacing the deprecated Gmailify feature, and after spending a few days trying existing solutions I didn't find one that worked for me.
I initially built this as a Node.js app that I got running on my Synology for the past 2 months without an issue, then decided to rewrite it to Go and explore alternative forwarding approaches as the original IMAP append solution was not going through gmail spam filter. Went from ~50MB peak RAM usage with Node.js to ~12MB with the go version, reducing the container image from ~170MB to just 14MB.
Current version is a single static binary, Docker-ready, that supports multiple source accounts, selective folder monitoring, and auto-cleanup of forwarded messages.
Sharing here as it may be useful to other folks.