SETUP_MESSAGING_ACCOUNT_MANAGE MESSAGING Endpoint
SETUP Endpoint
  /rpc/setup/?method=SETUP_MESSAGING_ACCOUNT_MANAGE  
  Object: 260. Click here for more information.  
  Set up a messaging account. POP, IMAP, & conversations.  
  Super Users can pass 'override_space' to be able to modify any account  
  PARAMETERS TYPE NOTES
  DataReturn Text A comma delimited list of advanced search fields to be returned after a successful save
  Id Numeric  
  Remove Numeric Pass '1' to remove the item
       
  CopyFrom Numeric You can copy Port, SSLPort, SMTPAccountName, SMTPAccountPassword, SMTPServer, and SMTPServerPort from another account.  Pass the Id of the account, or pass -1 to pick up from the most recently modified account.  You can override any of these by passing a value with the same call
       
  AccountName Text (50) Typically your full email address, but depends upon your email provider
  AccountPassword Text (50)  
  Address Text (50) Your full email address
  AuthRefreshToken Text (250) For AuthType = 3 (OAuth)
  AuthType Numeric 0=Standard Login [default], 1=CRAMS/MD5, 2=NTLM, 3=OAuth
  AuthURL Text (250) For AuthType = 3 (OAuth)
  CacheType Numeric 1=Headers [default],2=Full. See Email Caching for usage of this field
  CreateInternalBlog Text (1) Y / N [default]. When adding a record, if type = 4 (mydigitalspace|messenger) should it also create an internal blog conversation.
  Email Text (100)  
  Footer Text (2000)  
  Notes Text (2000)  
  OutgoingTemplateDocument Numeric A document which by default gets used when sending out emails from the matching address.  It should have a tag of to indicate where the email's text should be placed
  Port Numeric  
  ReplyTo Text (50) Can be an email address or a contact id
  Server Text (75) eg for GMail IMAP = imap.gmail.com
  SiteFrom Text (1) Y / N [default]. Can this account be used to send out emails via SITE_EMAIL_SEND
  SMTPAccountName Text (100)  
  SMTPAccountPassword Text (100)  
  SMTPEncrypted Text (1) Y [default] / N
  SMTPServer Text (100) If you want to have your outgoing emails sent via a different server, specify it here. For eg, smtp.gmail.com.  If set Verification defaults to 3 (Approved)
  SMTPServerPort Numeric For eg, gmail is 465
  SSLPort Numeric eg for GMail IMAP = 993
  Title Text (50)  
  Type Numeric 1=SMTP,2=Email (POP3),3=SIP (Instant Messaging and Voice),4=mydigitalspace|messenger,5=Email (IMAP) [default]
  User Numeric  Logon that the account is linked to
  Verification Numeric 1=Pending [default, but see SMTPServer],2=Not Approved,3=Approved
  RETURN  
  Id Numeric
  Status UPDATED