{"record":{"id":"e7296171ee219c25","repo":"krayin/laravel-crm","slug":"currently-bulk-processing-is-not-supported-for-sen","errorCode":null,"errorMessage":"Currently bulk processing is not supported for Sendgrid.","messagePattern":"Currently bulk processing is not supported for Sendgrid\\.","errorType":"exception","errorClass":"\\Exception","httpStatus":null,"severity":"error","filePath":"packages/Webkul/Email/src/InboundEmailProcessor/SendgridEmailProcessor.php","lineNumber":35,"sourceCode":"     */\n    public function __construct(\n        protected EmailRepository $emailRepository,\n        protected AttachmentRepository $attachmentRepository,\n        protected Parser $emailParser,\n        protected HtmlFilter $htmlFilter\n    ) {}\n\n    /**\n     * Process messages from all folders.\n     */\n    public function processMessagesFromAllFolders()\n    {\n        /**\n         * SendGrid's Inbound Parse is a specialized tool for developers to handle incoming emails in\n         * their applications, but it doesn't replace the full functionality of IMAP for typical\n         * email client usage. Thats why we can't process the messages.\n         */\n        throw new \\Exception('Currently bulk processing is not supported for Sendgrid.');\n    }\n\n    /**\n     * Process the inbound email.\n     */\n    public function processMessage($message = null): void\n    {\n        $this->emailParser->setText($message);\n\n        $email = $this->emailRepository->findOneWhere(['message_id' => $messageID = $this->emailParser->getHeader('message-id')]);\n\n        if ($email) {\n            return;\n        }\n\n        $headers = [\n            'from' => $this->emailParser->parseEmailAddress('from'),\n            'sender' => $this->emailParser->parseEmailAddress('sender'),","sourceCodeStart":17,"sourceCodeEnd":53,"githubUrl":"https://github.com/krayin/laravel-crm/blob/13d6988cda8d69ece45ee1890effc90a7f21cdc1/packages/Webkul/Email/src/InboundEmailProcessor/SendgridEmailProcessor.php#L17-L53","documentation":"Error \"Currently bulk processing is not supported for Sendgrid.\" thrown in krayin/laravel-crm.","triggerScenarios":"Thrown at packages/Webkul/Email/src/InboundEmailProcessor/SendgridEmailProcessor.php:35 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"13d6988cda8d69ece45ee1890effc90a7f21cdc1","analyzedAt":"2026-08-17T00:58:29.000Z","schemaVersion":2},"datasetVersion":"2026-08-17T04:17:16.089Z"}