how to attach email sent by an action set to case

scenario:

Inside a section, after a button is clicked, an email is sent out by an activity.

The mail can be delivery normally, however we would like to let this mail attached in current case, may I know how?

for those mails sent outside flow action, they can be attached to case normally.

@MaxonL16591286 use send simpleemailnotification activity and pass the case id reference it will attach as when the email is send

@gasharma well noted, just now I did not notice the case ID has not been generated yet (it’s a temp case) when I sent mail.

The mail can be attached if it’s sent after case ID generated, thanks.