Rails Console reading contents of attachment?

Not entirely sure about your use-case - are you trying to train a spam filter…?
If so, this might help: Learn Ticket tagged as "Spam" in rspamd

The auto reply notification template is not available for “normal” usage in that scope. Technically parts of the information they provide can be added to the mail though (with variables and all that if needed).

If you take a look at the documentation (and especially the response payload which is what you’ll need), then you should be able to construct a article of type “email”.

Note that Zammad expects a email address, not ID in that scope. You can sneak peek at any other fitting email article in Zammad which should be a good safety net for you.