This is a wonderful idea for iOS Shortcuts. Though after the second shortcut - I gave up. The onboarding flow of email > get pdf > click link in pdf > download first shortcut > run first shortcut > first shortcut downloads second shortcut > then a bountiful settings pallete, with an insane amount of settings is just too much.
I think you'd be better off putting the scaffolding into a proper iOS app with AppIntents. This onboarding flow is (forgive me) awful, but I understand why you want it to be this way. I also think with AppStore's recent rejections you can't BYOK either, which really messes with your business model.
Email is open, happy to help you with this - I think it's what we want, just not how we need it.
Btw: I already have a shortcut directly hooked into openAI's endpoint, it's wonderful as is. The other 'modes' I would love to try.