Privacy Tools Guide

When a person dies, their digital assets—including email accounts—become part of their estate. For executors and administrators handling an estate, accessing the deceased’s email can be essential for identifying assets, settling debts, or preserving important communications. However, email account inheritance is governed by a complex patchwork of laws that vary significantly by jurisdiction.

This guide provides a technical overview of email account inheritance rights across major jurisdictions, practical workflows for executors, and code examples for automating parts of the data recovery process.

Understanding Email as Digital Property

Email accounts are fundamentally different from physical property. When you “own” an email account, you typically own a license to use the service, not the data itself. Most email providers (Google, Microsoft, Proton Mail, Fastmail) retain ownership of the data stored on their servers, granting users a revocable right to access their account.

This distinction creates legal complexity. Executors cannot simply request a deceased person’s username and password and expect to gain access. Instead, they must navigate provider-specific policies, court orders, and jurisdiction-specific inheritance laws.

Jurisdiction-by-Jurisdiction Overview

United States

In the United States, email account inheritance falls under state law. The Revised Uniform Fiduciary Access to Digital Assets Act (RUFADAA), adopted by most states, provides a framework for fiduciaries to access digital assets.

Under RUFADAA, a fiduciary (executor, administrator, or trustee) can access electronic communications if:

  1. The deceased did not explicitly forbid access in a will or online tool
  2. The fiduciary provides a copy of the death certificate and court documents
  3. The email provider has a compliant terms of service

Practical workflow for US executors:

import requests
import json

class EmailProviderRequest:
    """Base class for executor data requests to email providers."""

    def __init__(self, provider_name):
        self.provider = provider_name
        self.required_documents = [
            "death_certificate",
            "court_letters",
            "letter_of_authority"
        ]

    def prepare_request(self, deceased_info, executor_info):
        """Prepare documentation package for provider submission."""
        return {
            "provider": self.provider,
            "deceased": {
                "full_name": deceased_info["name"],
                "date_of_death": deceased_info["death_date"],
                "email_address": deceased_info["email"]
            },
            "executor": {
                "name": executor_info["name"],
                "authority": executor_info["authority_type"],
                "court": executor_info["court_name"],
                "case_number": executor_info["case_number"]
            },
            "documents": self.required_documents
        }

# Example: Preparing a request for Google
google_request = EmailProviderRequest("Google")
package = google_request.prepare_request(
    deceased_info={"name": "John Doe", "death_date": "2025-12-01", "email": "johndoe@gmail.com"},
    executor_info={"name": "Jane Doe", "authority_type": "Executor", "court_name": "Superior Court", "case_number": "2025-PR-12345"}
)

Key providers and their processes:

European Union (GDPR-Based)

The GDPR does not specifically address deceased persons’ data, leaving it to member states. Germany, for instance, has federal court rulings that recognize inheritance of digital assets. French law (Loi pour la confiance dans l’économie numérique) allows heirs to access digital accounts.

GDPR-compliant workflow for EU executors:

class EUExecutorRequest:
    """Handle GDPR-based executor requests under member state laws."""

    STATE_SPECIFIC_RIGHTS = {
        "Germany": "Inheritance Act (§1922 BGB) applies to digital assets",
        "France": "Heirs have right to deceased's digital identity under LCEN",
        "Italy": "Italian Civil Code Art. 518 covers digital property",
        "Spain": "Law 3/2018 on Data Protection applies to deceased"
    }

    def __init__(self, member_state):
        self.jurisdiction = member_state

    def get_applicable_law(self):
        return self.STATE_SPECIFIC_RIGHTS.get(self.jurisdiction,
            "No specific law - rely on general inheritance principles")

    def create_data_request(self, provider, deceased_email, executor_authority):
        """Create GDPR-based request citing applicable member state law."""
        return {
            "request_type": "data_access_as_heir",
            "legal_basis": f"National law: {self.get_applicable_law()}",
            "provider": provider,
            "email": deceased_email,
            "authority": executor_authority,
            "gdpr_article": "Article 2(2) - not applicable to deceased, national law applies"
        }

United Kingdom

UK law does not have specific legislation for digital asset inheritance. However, executors can access email accounts under common law principles of estate administration. The GDPR (as incorporated into UK law) does not apply to deceased individuals.

Most UK executors must:

  1. Obtain grant of probate
  2. Contact email providers directly with documentation
  3. Rely on the provider’s goodwill or terms of service

Canada

Canada’s privacy laws (PIPEDA) do not apply to deceased individuals. However, provincial estate laws govern the executor’s authority. Ontario, British Columbia, and other provinces recognize digital assets as part of the estate.

Canadian executor process:

class CanadianExecutorRequest:
    """Provincial variation in digital asset access."""

    PROVINCIAL_APPROACHES = {
        "Ontario": "Executor has authority under Estate Administration Act",
        "British Columbia": "WESA (Wills, Estates and Succession Act) applies",
        "Quebec": "Civil Code of Quebec recognizes digital assets"
    }

    def __init__(self, province):
        self.province = province

    def request_provider_access(self, provider, documents):
        """Submit request to email provider."""
        return {
            "province_law": self.PROVINCIAL_APPROACHES.get(self.province),
            "provider": provider,
            "required": [
                "Grant of Probate or Letters of Administration",
                "Death certificate",
                "Executor identification"
            ]
        }

Australia

Australia’s digital executor framework is evolving. States like Queensland have enacted specific provisions. Generally, executors rely on general estate administration powers and provider cooperation.

Japan

Japan’s 2017 amendment to the Act on Contracts provides heirs with the right to inherit digital assets. This includes email accounts, giving Japanese executors clearer legal standing than in many other jurisdictions.

Technical Approaches for Email Data Recovery

Beyond legal requests, executors can use technical methods when passwords are available or when accounts have legacy access configured.

IMAP/ POP3 Access Scripts

If credentials are available in a password manager or documented estate plans:

import imaplib
import email
from email.policy import default

class EmailArchiveExtractor:
    """Extract email data from deceased person's account via IMAP."""

    def __init__(self, imap_server, credentials):
        self.server = imap_server
        self.credentials = credentials
        self.connection = None

    def connect(self):
        """Establish IMAP connection."""
        self.connection = imaplib.IMAP4_SSL(self.server)
        self.connection.login(self.credentials["email"], self.credentials["password"])
        return self.connection

    def extract_all_messages(self, output_format="json"):
        """Download all messages from all folders."""
        self.connection.select("INBOX")

        result, data = self.connection.search(None, "ALL")
        message_ids = data[0].split()

        messages = []
        for msg_id in message_ids:
            result, msg_data = self.connection.fetch(msg_id, "(RFC822)")
            msg = email.message_from_bytes(msg_data[0][1], policy=default)
            messages.append({
                "id": msg_id.decode(),
                "from": msg["from"],
                "to": msg["to"],
                "subject": msg["subject"],
                "date": msg["date"],
                "body": self._extract_body(msg)
            })

        return messages

    def _extract_body(self, message):
        """Extract message body, handling multipart messages."""
        body = ""
        if message.is_multipart():
            for part in message.walk():
                if part.get_content_type() == "text/plain":
                    body = part.get_content()
        else:
            body = message.get_content()
        return body

# Usage with secure credential handling
# extractor = EmailArchiveExtractor("imap.gmail.com", {"email": "estate@domain.com", "password": "APP_PASSWORD"})
# messages = extractor.connect()
# archive = extractor.extract_all_messages()

Important security considerations:

API-Based Exports (Where Available)

Some providers offer programmatic exports:

# Google Takeout API example (requires proper authorization)
class GoogleTakeoutRequest:
    """Programmatically request Google data export."""

    SCOPES = [
        "https://www.googleapis.com/auth/drive.file",
        "https://www.googleapis.com/auth/gmail.readonly"
    ]

    def __init__(self, service_account_file):
        self.credentials_file = service_account_file

    def create_export_job(self, email_address):
        """Request data export for deceased account."""
        # Note: This requires proper legal authorization and Google API setup
        return {
            "kind": "takeout#export",
            "export_qualifier": {
                "email_address": email_address
            },
            "products": ["GMAIL"],
            "schema_types": ["MAIL"]
        }

Best Practices for Executors

  1. Document everything: Keep copies of all requests, responses, and correspondence with providers.

  2. Start early: Email provider response times vary from weeks to months.

  3. Obtain court authority: Ensure your Letters of Administration or Probate explicitly mention “digital assets” or “electronic communications.”

  4. Use secure channels: Send sensitive documents via encrypted email or secure file transfer.

  5. Consider professional services: For complex estates, digital asset specialist firms can navigate provider-specific requirements.

  6. Plan ahead: If you’re creating an estate plan, document your email accounts, password manager access, and explicit wishes for digital asset distribution.

Built by theluckystrike — More at zovo.one