Hi there,
How familiar are you with Information Protection (sensitivity) itself?
On the "Send Email" action, you can set the sensitivity of the email itself:

The file attachment sensitivity is set from - well - however you're applying sensitivity. Usually by content type, or manual, or metadata - whatever. But you'd need to set-up all of the sensitivity stuff first. And you'd have some labels that apply encryption.