To add a component to email application panes in Lightning for Outlook or Lightning for Gmail, implement the clients:availableForMailAppAppPage interface.
To allow the component access to email or calendar events, implement the clients:hasItemContext interface.
<aura:attribute name="source" type="String" />
<aura:attribute name="people" type="Object" />
The shape of the people attribute changes according to the value of the source attribute.
When the source attribute is set to email, the people object contains the following elements.
{ to: [ { name: nameString, email: emailString }, ... ], cc: [ ... ], from: [ { name: senderName, email: senderEmail } ], }
When the source attribute is set to event, the people object contains the following elements.
{ requiredAttendees: [ { name: attendeenameString, email: emailString }, ... ], optionalAttendees: [ { name: optattendeenameString, email: emailString }, ... ], organizer: [ { name: organizerName, email: senderEmail } ], }
<aura:attribute name="subject" type="String" />
<aura:attribute name="messageBody" type="String" />
To provide the component with an event’s date or location, implement the clients:hasEventContext interface.
dates: { "start": value (String), "end": value (String), }