Provides methods for working with email via IMAP.
getLastEmail
Retrieves last unseen email.
** Usage example:**
Parameters:
Returns:
Object
- Email body, text, textAsHtml, attachments if any, and TO, FROM, SUBJECT, DATE headers.
init
Set email connection details.
Parameters:
send
Send email using SMTP.
Parameters:
Last updated