please do you know of an open source alternative for email2db,
or some module in ruby or php that allows me to interact with emails, I want to open a link from an email and send the data from the attachment to a mysql,
thank you very much!
You can configure postfix to send incoming mails to a certain script that parses it and stores data in your database:
How do I painlessly receive mail in linux and feed it to Rails?
This way you can easily create your own scripts that handle incoming emails