You're on the right track. In Odoo, getting vendor bills in and processing them with an email alias isn't super straightforward. This kinda automation is mainly done in odoo's account module by a method that might be called something like `message_new` or maybe `message_post`. To really nail down which method it is for your version, you gotta check the Python models tied to the accounting features, probably in the `account.move` model.
What you want is making sure you're inheriting the right method. Try poking around for XML files or those Python classes in the account module directories where `account.invoice` or `accout.move` are set up. The trick is usually buried in methods with `@api.model`. But hey, be careful, okay? Editing core functions needs you to be precise or it might mess with your system.
If you haven't already, set up an odoo dev environment. Python debugging tools there will help you spot these method calls. And before anything major, run it through a dev setup with any custom fields to see if they show up right. Check out Odoo community spaces on GitHub or their docs; they're super useful for stuff like this.