Docs
Security & Privacy

Security & Privacy

Learn how DigitalMen AI protects your external mailbox credentials, email data, and privacy.

At DigitalMen AI, security and user privacy are foundational to everything we build. This document outlines our data handling practices, encryption standards, and privacy guarantees when connecting external recruitment mailboxes.


1. Credential Security & Encryption at Rest

When you connect external recruitment mailboxes (via IMAP/SMTP), protecting your authentication credentials is our highest priority.

AES-256 Encryption at Rest

All mailbox passwords and access tokens are encrypted using AES-256-GCM encryption before being written to the database. The encryption keys are securely stored in environment variables (MAILBOX_ENCRYPTION_KEY) separated from application data.

Zero Plaintext Exposure

Credentials are never printed to server logs, application trace files, or client-side responses. Decryption occurs strictly in-memory within isolated internal workers at the precise moment of establishing an IMAP session.

Secure Transit via TLS/SSL

All connections between DigitalMen AI workers and external mail servers enforce strict SSL/TLS encryption (e.g., IMAP Port 993, SMTP Port 465/587). Unencrypted connections are explicitly disallowed.


2. Minimal Data Storage & Privacy

DigitalMen AI acts as an intelligent middleware layer. We operate under strict minimal retention policies for your email contents.

What We Process

  • In-Memory Parsing: Incoming emails are fetched and processed in-memory by our recruitment AI parser.
  • Structured Extraction: Only data relevant to recruitment (such as candidate talent profiles, resume details, or job requirements) is extracted and saved as structured records in your account workspace.

What We DO NOT Store

  • No Full Email Body Storage: We do not archive or store full email body text or original MIME source files for general emails. Once relevant talent/job information is extracted, transient email text is purged from worker memory.
  • No Non-Recruitment Data Collection: Emails determined not to be recruitment-related are immediately ignored and discarded.

3. Account & Workspace Data Isolation

DigitalMen AI uses strict multi-tenant isolation at the database level:

  • User Scoping: Every mailbox connection, talent profile, and job extraction is strictly bound to your authenticated user workspace account ID.
  • Session Security: Dashboard access is secured via industry-standard authentication (Session tokens / NextAuth.js) with HTTPS-only cookies.

4. Summary of Data Practices

CategoryStorage / Handling PolicyEncryption Standard
Mailbox CredentialsEncrypted in DatabaseAES-256-GCM at Rest
Email TransmissionSecure IMAP/SMTP SessionTLS / SSL in Transit
Raw Email BodiesTransient in-memory onlyNot Retained
Talent & Job ExtractionsUser Workspace DBPostgreSQL Row-Level Isolation

🔒

If you have any specific security questions or require a custom Data Processing Agreement (DPA), please reach out to our security team.