E-mail Classification

Overview

The RPA Bot accepts the username, App password, folder names, and keywords as inputs provided by the user. If both the username and password inputs are valid, the bot connects to Gmail through the properties for connecting to an IMAP email server using JavaMail. Then it reads the inbox messages of the Email and checks the keywords that are provided by the user and creates a folder by corresponding folder name given by the user. The bot also manages all negative scenarios and ensures a safe failure, guaranteeing exception-free automation.

Key Features & Functionality

  1. Email Authentication: This method is used to get the username and password as input from the user. The entered username and password are validated through properties for connecting to an IMAP email server. If they are correct, the method accesses the respective Gmail account. In the event that the user provides incorrect credentials, a validation message of "Not Connected" is displayed. Negative scenarios related to the response body are also managed appropriately.
  2. Classify Emails: This method will get the folder name and keywords as inputs from the user. Then the method searches the email subject to determine whether the keyword is present in the subject or not. If the email subject includes the keyword, the process proceeds to move the email to the designated folder.
Anonymous