When I was looking to automate Evernote, I was thinking purely from an AppleScript perspective.
I forgot that Evernote has a REST API that developers can use for performing operations, whether through Python, Obj-C, Javascript, etc.
However, I'm going to continue using Evernote legacy. When the time comes where Evernote legacy will be put to rest, I'll get out my learning cap and take on making an app using the REST API.