I would like to create a script which is triggered by an email filter which, when run, creates two transactions in GnuCash. I see that [GnuCash has Python bindings](http://wiki.gnucash.org/wiki/Python_Bindings) but the documentation is sparse at best... a better term would be "nonexistent".

Is it possible to write a script which will create transactions in GnuCash? If so, what would the very basic code look like? I just need a starting point; once I have that I can script this fairly well myself.