I put together an example action which prompts to select a tag, and writes a file to iCloud Drive for each draft in the inbox with the assigned tag.
It’s great for backup or bulk export of all active drafts in a particular project, etc.
There are several configuration variable at the top of the action script to control the action - and the example could be adapted pretty easily to write to Dropbox or other file-based service.
Publish tag to iCloud Drive action at the Action Directory