Email Input

Receiving data through IMAP / POP3 services

  • Ability to listen on multiple IMAP / POP3 servers
  • Ability to filter by subject patterns, attachments, etc

Related Context APIs

Email Message Context

Example"Processing email: %s", mail.getSubject());

def textContents = mail.listStringParts();
def fileNames = [];
def attachments = mail.listAttachments(fileNames);

for(int i=0;i<textContents.size();i++){"Text Content[%d]", i+1);"\n%s",textContents[i]);"--------------------");

for(int i=0;i<attachments.size();i++){"Attachment[%s]", fileNames[i]);"\n%s", new String(attachments[i]));"--------------------");

Related REST APIs

Create / Update Input
Retrieve Input
List Inputs
Count All Inputs
Start Stop Restart an Input
Delete Input
Delete All Inputs