Your processes made me think about a email based interface instead of a bash script, this may allows to easily interact with the database bot without knowing bash or python.
Harder, since they don't have an open API and don't want people using non-standard clients. The clients are open-source though, so probably you can do it.