Attachments are being collected from an attachment control by setting the OnSelect property of a button to
ClearCollect(AttachCollect,ForAll(DataCardValue12.Attachments As Document,{contentBytes: Document.Value,name: Document.Name}))
Things seem to be working fine up to this point; Gallery_Attachments displays the content of the collection correctly (both Name and ContentBytes):

Now I am trying to pass the same information from the AttachCollect collection on to an email; I've set the OnSelect property of the Send Email button to Office365Outlook.SendEmail(_varToField, TextEmailSubject2.Text, TextEmailMessage2.Text,{Attachments:Table(AttachCollect)}), but I am getting this error:

What am I doing wrong?