automating online banking login & checking for new transactions - what's best approach? (e.g. which gems/libraries etc)

Hi,

I'm interested in automating online banking login & checking for new
transactions - what's best approach? (e.g. which gems/libraries etc)
Anyone already built something that does this?

For example login each hour and check for any new credit card
transactions and then email them to myself if there are new ones.

I've seen Mechanize, which seems quite good as I want to deploy to a
linux box ultimately and not have to have a browser instance
physically running (i.e. want the ruby library to be self contained,
and not work via controller a browser)...

Thanks