postman

Postman is a ruby daemon for fetching mail for an address via pop3 or imap and then delivering it to a specified webhook. There is a sinatra web front end so you can see what's going on.