Custom node to replicate MS Outlook node behaviour but works like an IMAP node

Hey community

Describe the problem/error/question

We have been testing our n8n workflow with the Outlook node. However, we use an MS Exchange Server in production. Therefore, the IMAP node has been the best node to use in order to connect to our internal mailboxes. However, the behaviour of the IMAP node is inherently different from the Outlook node.

Problems we have with IMAP:

  • We cannot create a reply to an email by referencing an email ID
  • We cannot get one email. The only option we have is many messages without a limit option
  • We cannot mark the email as read or unread by referencing the email ID
  • We do not have an option to toggle between HTML and Text as Message Type when creating an email reply
  • We cannot get a fetched email output as simple, raw, or filter several fields.
  • We cannot view the fetched emails in text format. HTML format is the only accessible format, regardless of whether we enter the Text Content as a filter.

I understand that the IMAP node is a community node, but we would like to extend it to our needs so that the custom node more or less feels like an Outlook node while inherently handling mailboxes. Is this possible? If it is possible, how do we start developing it?

Information on your n8n setup

  • n8n version: 1.88.0
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Ubuntu