What you're searching for may be in two places, either on the publisher side (app side) or on the relay side.
On the app side it can be a settings like "I know that the nmail relay is on my relay list but don't use it when I publish a kind:1"
On the relay side it can be settings like "refuse everything that is not a kind:1059"
In both cases, the app or the relay should give you control over this.
I'm curious, why do you want to use the nmail relay only for mails ?
