Automatically archive gmail data

Hello,

I’m looking for an automated workflow that will fetch my whole gmail account data, and archive it inside my sweet DEVONthink Pro Office.

Any ideas ?

Thanks