How to implement email selection like in MailApp Siri shortcut?

I am implementing AppIntent with ability to pick or enter multiple emails. I add parameter

@Parameter(title: "Recipients", mode: .email)
var recipients: [IntentPerson]?

static var parameterSummary: some ParameterSummary {
  Summary("Send \(\.$body) to \(\.$recipients) as \(\.$subject)")
}

When I tap on Recipients field I got a standard Contact Picker UI. But I want to achieve this one:

Answered by shalex9154 in 744564022

After investigation I figured out that this behaviour is impossible with AppIntents framework. To achieve it need to use INSendMessageIntent..

Accepted Answer

After investigation I figured out that this behaviour is impossible with AppIntents framework. To achieve it need to use INSendMessageIntent..

How to implement email selection like in MailApp Siri shortcut?
 
 
Q