A.3 Special Attributes

Several attributes are exposed for the Google shema to update a user’s default e-mail settings within a Google domain. These attributes are not mapped to an eDirectory attribute but can be sent on Modify or Add events.

Setting

Example

GmailSettingsEnableIMAP

Turns on or off IMAP for the Account. Set to True or False.

<add-attr attr-name="GmailSettingsEnableIMAP">
    <value type="string">true</value>
</add-attr>

GmailSettingsEnablePOP

Turns on or turns off POP for the account.

<add-attr attr-name=”GmailSettingsEnablePOP”>
     <value type=”structured”>
          <component name=”EnableFor”>Don DaRe</component>
          <component name=”Action”>don@idmtest.org</component>
          <component name=”Enable”>true</component>
     </value>
</add-attr>

GmailSettingsForwarding

Sets a forwarding email address. The API only allows setting this to an account inside of the Google Apps domain. External addresses cause an error.

<add-attr attr-name=”GmailSettingsForwarding”>
     <value type=”structured”>
          <component name=”ForwardAddress”>Don DaRe</component>
          <component name=”Action”>don@idmtest.org</component>
          <component name=”Enable”>true</component>
     </value>
</add-attr>

GmailSettingsLabel

A set of labels that are automatically set on the account. The labels are available in Gmail to the end user.

<add-attr attr-name=”GmailSettingsLabel”>
     <value type=”string”MyProject</value>
</add-attr>

GmailSettingsLanguage

This sets the default language for the user.

<add-attr attr-name=”GmailSettingsLanguage”>
     <value type=”string”Eng</value>
</add-attr>

GmailSettingsSendAs

Set this structured value to set up a Send As alias. Useful when there are multiple domains or subdomains in Google Apps..

<add-attr attr-name=”GmailSettingsSendAs”>
     <value type=”structured”>
          <component name=”Name”>Don DaRe</component>
          <component name=”SendAs”>don@idmtest.org</component>
          <component name=”ReplyTo”>Don@idmtest.org</component>
          <component name=”isDefault”>true</component>
     </value>
</add-attr>

GmailSettingsSignature

Sets a default e-mail signature for the user. This is at the user level and can be overridden by the end user.

<add-attr attr-name=”GmailSettingsSignature”>
     <value type=”string”>Signature Data</value>
</add-attr>