/v3/grants/{grant_id}/messages/{message_id}Update message attributes
Updates the attributes (folders, stars, read/unread status, and so on) for the specified email message.
When you make a PUT request, Nylas replaces all data in the nested object with the information
included in your request. For more information, see
Updating objects.
Path parameters
ID of the grant to access. You can also use the email address associated with the grant, or use /me/
to refer to the grant associated with an access token.
ID of the message to access. We recommend you URL-encode this field, or you might receive a
404 error if the ID contains special characters (for example,
#).
Query parameters
Specify fields that you want Nylas to return, as a comma-separated list (for example,
select=id,updated_at). This allows you to receive only the portion of object data that you're
interested in. You can use select to optimize response size and reduce latency by limiting queries
to only the information that you need.