Automatically importing emails into DEVONthink with Applescript

I found this guide for automatically importing specific emails into DEVONthink where they can then be automatically sorted and archived. Pretty cool. Does anyone know any other ways to do this through automation?