nylas/nylas-python

How do you add metadata on a draft message?

Closed this issue · 2 comments

Describe the bug
I'm trying to add a metadata attr on the draft but it's not appearing on the created webhook

To Reproduce

draft = self.nylas_client.drafts.create()
...
draft.metadata = {"extra": 1}
draft.send()

SDK Version:
Version: 5.10.0

Thanks for opening this ticket @eric-luna, we are taking a look at this issue!

@eric-luna Thanks for opening the issue, the bug is now fixed and is available in the latest v5.7.0 release!