Email/InboundEmailHandlerService.php

synaplan · backend/src/Service/Email/InboundEmailHandlerService.php · php · Apache-2.0
email

Service that tests IMAP connections and processes inbound emails with AI routing.

// Source: https://github.com/metadist/synaplan | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
<?php

namespace App\Service\Email;

use App\AI\Service\AiFacade;
use App\Entity\InboundEmailHandler;
use App\Repository\InboundEmailHandlerRepository;
use App\Repository\PromptRepository;
use App\Repository\SavedTaskRepository;
use App\Repository\UserRepository;
use App\Service\ModelConfigService;
use App\Service\RateLimitService;
use App\Service\SavedTask\InboundEmailFilter;
use App\Service\SavedTask\SavedTaskConfig;
use App\Service\SavedTask\SavedTaskRunner;
use App\Service\Security\EncryptionService;
use Psr\Log\LoggerInterface;
use Symfony\Component\Mailer\Transport;
use Symfony\Co

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key