@SeditioLTD

Locate path in your project:
vendor/uvdesk/mailbox-component/Services/MailboxService.php

open MailboxService.php and add some line of code here which we are writing below.

$autoReplyEmail = $parser->getHeader('auto-submitted'); if ($autoReplyEmail && $autoReplyEmail == "auto-generated" ) { return; }

But above code will block all auto generated emails and will not create a ticket if auto-submitted header with value auto-generated exist with your mail row content.

You can add below conditions for stopping such auto emails from a particular domain as well by adding below code.
Example - for zendesk and zohodesk

$autoReplyEmail = $this->Parser->getHeader('auto-submitted'); if ($autoReplyEmail && $autoReplyEmail == "auto-generated") { $implodeMessageId = explode('@', $mailData['referenceIds']); if ($implodeMessageId[1] == 'desk-mailer.zohodesk.com>' || $implodeMessageId[1] == 'zendesk.com>') { return; } }