What’s faster for getting Mails into Rails: Pop vs. MySQL


Suppose I wanted to get mails from my mailserver (different machine) into my Rails App to process it there, what is faster:

* Connecting via net/Pop or net/imap to download the mails * Storing the Mails on the Mailserver in a MySQL Database (using something like DBMail) and then connecting directly to the MySQL Database * Or is there a third option I'm not seeing yet? Maybe letting the mailserver itself post the Mail to the Rails App?

Thanks for your advice!