I’m creating an add-on for the first time. I think it’s pretty simple:
I want to add a button [Send & Flag] that flags a message when i hit send.
I assume I need the following:
-Add a button
-Trigger a send
-Get message id
-Flag that message
Can anyone help me with any of these steps? For the button, I see the id of the toolbar, so I’m guessing I can figure that out.
The rest of it I’m guessing will be this way:
Button -> triggers function -> function triggers send which returns message id? -> function triggers flag on message.