To receive or view emails through Imap within the SC, the imap_open function would be used.
Then, within an application of the Blank type you must create a method that will be responsible for carrying out the entire process.
2. The following code is added
3. Then, within the onExecute event, the method is called
4. When executing I would be bringing the subject of the mail from the date indicated