Posta Elettronica Certificata is where the fines, tenders, invoices and registered letters land, and where nobody wants to look. Give your AI agent IMAP access to it: read, search, summarize and file certified mail, receipts included, with the credentials your PEC provider issues for mail programs.
Several PEC mailboxes across the company? See what each plan connects
Copy these into the connect form. MCPEmails prefills them where it can, and retries the other standard transport if the first does not answer.
| Protocol | Server | Port | Security |
|---|---|---|---|
| IMAP (incoming) | imaps.pec.aruba.it | 993 | TLS (implicit) |
| SMTP (outgoing) | smtps.pec.aruba.it | 465 | TLS (implicit) |
| IMAP, Legalmail | mbox.cert.legalmail.it | 993 | TLS (implicit) |
| SMTP, Legalmail | sendm.cert.legalmail.it | 465 | TLS (implicit) |
| IMAP, Postecert | mail.postecert.it | 993 | TLS (implicit) |
| SMTP, Postecert | mail.postecert.it | 465 | TLS (implicit) |
| IMAP, PEC postecertifica | mail.postecertifica.it | 993 | TLS (implicit) |
| SMTP, PEC postecertifica | mail.postecertifica.it | 465 | TLS (implicit) |
Verified 2026-11-10: imaps.pec.aruba.it answered a TLS connection and identified itself as an IMAP server under that name. It advertises LOGIN, OAUTHBEARER, PLAIN, XOAUTH2 authentication.
Sign in with: Your full PEC address: nome@pec.it or nome@pec.tuodominio.it on Aruba, the User ID or the PEC address on Legalmail, nome@postecert.it or nome@postecertifica.it on Poste.
The first two rows are Aruba PEC, which serves @pec.it and pec.tuodominio.it mailboxes. Legalmail and Poste follow. Every host was verified from a live TLS connection. For a PEC on another provider, use the email settings lookup
Claude cannot reach a PEC mailbox on its own. MCPEmails is a hosted MCP server that connects one over IMAP, exactly as Thunderbird or Outlook would: Aruba PEC at imaps.pec.aruba.it on port 993, Legalmail at mbox.cert.legalmail.it on 993, Poste at mail.postecert.it or mail.postecertifica.it on 993, each with its own SMTP host on 465. All three providers document this access for ordinary mail clients. What differs is the password. Aruba takes the mailbox password until two-step verification is on, then a dedicated password for mail programs valid six months; Legalmail takes the User ID or PEC address with the mailbox password, or a 16-digit Application Password; Poste's PEC Postecertifica never accepts the webmail password in a client and issues one from its dashboard that expires every 90 days. Reading over IMAP shows the agent the certified envelope with the original message attached; sending through the provider's SMTP produces a certified message like any client's. One inbox is free, forever.
PEC is ordinary email with a certified transport wrapped around it, and every major provider serves it over the standard protocols. Aruba documents imaps.pec.aruba.it on 993 and smtps.pec.aruba.it on 465, both SSL/TLS, with the PEC address as username and the note that protocols are active by default. InfoCert's operating manual lists mbox.cert.legalmail.it on 993 for IMAP and sendm.cert.legalmail.it on 465 for sending, TLS 1.2 or newer, signed in with the User ID or the PEC address and the password of the mailbox. Poste's configuration pages list mail.postecert.it for the older Postecert mailboxes and mail.postecertifica.it for PEC Postecertifica, IMAP on 993 and SMTP on 465 with authentication on. The passwords follow the REM-Policy-IT rules AgID adopted for the European PEC: a strong login for the webmail, and for mail clients an application password the holder creates after authenticating strongly, changed periodically. Aruba calls it the Password per programmi di posta, generated once two-step verification is on and valid six months; Legalmail the Application Password, optional today, 16 digits, created under Password applicative in the account settings; Poste, on PEC Postecertifica, the client password, generated from the PEC dashboard with Genera password, mandatory, and expiring every 90 days. MCPEmails uses whichever your provider hands you, with the same IMAP and SMTP any client would.
21 action-based MCP tools: send, reply, forward, schedule, and organize. Your agent finishes the job inside PEC.
List, read and search across folders to find that invoice, summarize a thread, or pull the latest from a sender.
Compose and send real messages, reply in-thread, and forward, directly from your mailbox, not as a draft you finish by hand.
Queue a message to go out at the right time, so your agent can draft now and send on schedule.
Keep the inbox tidy: file mail into folders, flag what matters, archive the rest, or delete on request.
From sign-up to first AI email in a couple of minutes.
Sign up at mcpemails.com. The free plan connects one mailbox, forever, and does not ask for a card.
Aruba PEC: if two-step verification (verifica in 2 passaggi) is off, the mailbox password works as it is. If it is on, which a PEC adapted to the European standard requires, open Gestione account PEC, then Sicurezza, then Password per programmi di posta, click Attiva and copy the generated password; it lasts six months and Genera nuova password replaces it. Legalmail: your User ID (or PEC address) and mailbox password work, or create an Application Password under Password applicative in the account settings with Crea nuova. Poste: on PEC Postecertifica, open the dashboard and choose Genera password; the webmail password is never accepted by a client. For an older Postecert mailbox, Poste's configuration page lists only the hosts and ports.
On Aruba PEC, the webmail has Impostazioni under the user menu, then SMTP/POP/IMAP, with an Accessi tab. Protocols are on by default, and Aruba warns that disabling all of them blocks every mail program; the password for mail programs cannot even be generated until at least one protocol is on. On Legalmail, each Application Password carries its own expiry date, shown next to it in the Password applicative list.
Choose IMAP / SMTP, enter the PEC address (or the User ID on Legalmail, under Advanced), and paste the password. The hosts and ports are prefilled for Aruba, Legalmail and Poste addresses. Then drop https://mcpemails.com/api/mcp into Claude, Cursor or ChatGPT, authorize, and your agent has the PEC mailbox.
Step-by-step guides: How to connect Claude to your email · Claude IMAP connector guide
More guides: Inbox zero with AI · Give your AI agent an inbox
Use this inbox in your AI app: Claude · ChatGPT · Cursor · VS Code · Codex · Claude Code · Cline · Windsurf · Gemini CLI · All supported apps
Need the server names and ports? Look up IMAP and SMTP settings
Comparing providers first? See the email provider compatibility matrix
ChatGPT reaches PEC through Any Mailbox, the MCPEmails plugin in the ChatGPT plugin directory.
If your company runs more than one address on PEC, such as info@, sales@ and invoices@, connect each one to the same MCPEmails workspace. Your AI client then reaches all of them through the one MCP URL, in Claude, ChatGPT, Cursor or any other MCP client. Every tool call names the mailbox it acts on, each mailbox keeps its own sender name and signature, and a reply goes out through the mailbox it belongs to.
Free connects one mailbox, Personal three, Pro up to 10, and Business as many as you need, all on one login.
A PEC message does not arrive as the message the sender wrote. The sender's provider wraps it in a certified envelope, the busta di trasporto, signed by that provider, whose body says who sent what to whom and when, with the original message attached as postacert.eml and the certification data as daticert.xml. Over IMAP that envelope is the message, so when you ask the agent what a PEC says, it reads the attached original. Receipts work the same way: the ricevuta di accettazione from your provider and the ricevuta di avvenuta consegna from the recipient's arrive as separate messages in the inbox, which is what makes a PEC mailbox fill up with three items per letter sent. An agent is good at filing exactly that.
Aruba's password for mail programs is valid six months, and in the last two weeks the account area offers Posticipa scadenza to extend it by six months, or Genera nuova password to replace it; when it lapses the connection fails with a plain refusal, and a forgotten one cannot be recovered, only regenerated. Poste's Postecertifica client password expires every 90 days and is regenerated from the dashboard. Legalmail lists each Application Password with its own expiry date, and a trash icon on the row deletes it. When a PEC connection that worked for months stops, the expiry is the first thing to check. MCPEmails reports the refused login on the inbox, and you paste the new password there.
Aruba states that certified messages can be sent only through Aruba's SMTP server, and that another server produces no certified message. MCPEmails always sends through the SMTP host of the connected mailbox, so a PEC sent by the agent is as certified as one sent from Outlook, with the same receipts and the same legal effect; the certification comes from your provider, not from the client. That is a reason to be deliberate: a PEC to a public body is a registered letter. Many people keep the agent to reading, filing and drafting, and press send themselves. A PEC also has full legal value only between two PEC addresses: Aruba's guide says the message must leave a PEC mailbox and land in one, and Poste notes that delivery to an ordinary address depends on the recipient's provider.
All three providers cap a PEC message at 100 MB including attachments; Legalmail guarantees attachments up to 70 MB within that, and Aruba notes that the limit is shared across recipients, so a 50 MB attachment goes to at most two. Above the cap Aruba issues a ricevuta di mancata accettazione rather than a bounce, which the agent will find in the inbox like any other receipt.
Not directly. Claude has no built-in PEC connector and cannot open an IMAP connection by itself. Connecting an MCP server such as MCPEmails to an Aruba PEC, Legalmail or Poste mailbox over IMAP gives Claude read, search, summarize, file and send access to it, and the same connection works in Cursor and other MCP clients. The provider's envelope, receipts and legal effect are unchanged.
Aruba PEC: imaps.pec.aruba.it on 993 and smtps.pec.aruba.it on 465. Legalmail: mbox.cert.legalmail.it on 993 and sendm.cert.legalmail.it on 465. Poste: mail.postecert.it or, for PEC postecertifica, mail.postecertifica.it, on 993 and 465. All SSL/TLS, authentication required, and all confirmed from a live TLS connection.
Aruba: the mailbox password, or once two-step verification is on, the Password per programmi di posta generated under Gestione account PEC, Sicurezza, valid six months. Legalmail: the User ID or PEC address with the mailbox password, or a 16-digit Application Password created under Password applicative. Poste, on PEC Postecertifica: a client password generated in the PEC dashboard with Genera password, which expires every 90 days; the webmail password is never accepted there.
No. The REM-Policy-IT rules keep POP3, IMAP and SMTP: the holder signs in to the provider's panel with strong authentication, enables client access and creates an application password that works only in mail clients and is changed periodically, six months being the indicative figure. Aruba, InfoCert and Poste each implement that rule in their own way, which is why the passwords above differ.
Yes. The busta di trasporto arrives as a message with the original as the postacert.eml attachment and daticert.xml alongside, and the ricevuta di accettazione and ricevuta di avvenuta consegna arrive as messages of their own. MCPEmails reads messages and attachments over IMAP, so the agent can summarize the original and match receipts to what you sent.
No. Messages are fetched live from your PEC provider over IMAP for each request and passed to your AI client. Credentials are encrypted at rest and message bodies are not retained.
Yes. Connect each PEC address to one MCPEmails workspace and your AI client reaches all of them through the same MCP URL. Every tool call names the mailbox it acts on, so a reply to a message in sales@ goes out from sales@. Free connects one mailbox, Personal three, Pro up to 10, and Business as many as you need.
Yes, once PEC is connected to MCPEmails. Install Any Mailbox from the ChatGPT plugin directory and sign in to MCPEmails. ChatGPT gets only the access you approve, and your mail is fetched live, never stored.
Connect Aruba PEC, Legalmail or Poste in minutes. One mailbox free forever, no card required.