Why is the 'key' object causing issues with attachments in the 'send_email' module of Gmail developer?

Not having much luck with that.

I’ve edited it for you, please take a look

I mean, that works - but the filename isn’t dynamic.

Cool

We’ll have to change the way we’re configuring the props to support dynamic filenames

does it make sense to you if we change the Attachment prop in the Gmail - Send Email action?
Currently it’s a type: "object", but an alternative is to make two type: "string" props, filename and filepath

Currently it’s a type: "object", but an alternative is to make two type: "string" props, filename and filepath
Ah I just remembered that we had this discussion before, and the limitation is that we could only support one attachment

Hmm, good question - I didn’t mind it being an object - I just don’t think the ‘key’ is working.

Oh, I see that re: props.

Yeah the issue is that we intentionally don’t evaluate custom expressions in object keys (don’t remember why though)

Urgh… I see.
Okay - I might try writing a custom code step instead.