Skip to main content

SimpleLogin CLI

A command-line interface for managing your SimpleLogin email aliases and custom domains.

Disclaimer: This tool is not officially associated with or endorsed by SimpleLogin. It is an independent, community-developed project that interacts with the SimpleLogin API.

Overview

SimpleLogin CLI provides a convenient way to manage your SimpleLogin email aliases directly from your terminal. With this tool, you can:

  • List, create, toggle, and delete email aliases
  • View detailed information about your aliases
  • Manage contacts for your aliases
  • Manage custom domains
  • View mailboxes associated with your account
  • Search and filter your aliases

Installation

Prerequisites

  • Python 3.6 or higher
  • A SimpleLogin account with an API key

Install via pip

pip install simplelogin

Manual Installation

  1. Clone the repository:

    git clone https://github.com/joedemcher/simplelogin-cli.git
    cd simplelogin-cli
    
  2. Install dependencies/package:

    pip install .
    

Configuration

Before using SimpleLogin CLI, you need to configure your API key:

simplelogin config set-key YOUR_API_KEY

You can create your API key in the SimpleLogin dashboard under API Keys.

Alternatively, you can set the API key as an environment variable:

export SIMPLELOGIN_API_KEY=YOUR_API_KEY

To view your current configuration:

simplelogin config view

Usage

Managing Aliases

List aliases

# List all aliases
simplelogin aliases list

# Paginate through aliases
simplelogin aliases list --page=1

# Show only enabled aliases
simplelogin aliases list --enabled

# Show only disabled aliases
simplelogin aliases list --disabled

# Show only pinned aliases
simplelogin aliases list --pinned

# Search aliases
simplelogin aliases list --query="github"

Create aliases

# Create a custom alias
simplelogin aliases create custom github
# You'll be prompted to select a suffix and mailbox

# Create a custom alias with options
simplelogin aliases create custom github --note="For GitHub notifications" --name="GitHub"

# Create a random alias
simplelogin aliases create random

# Create a random alias with word mode
simplelogin aliases create random --mode=word

# Create a random alias with a note
simplelogin aliases create random --note="For newsletter signups"

Manage existing aliases

# Toggle an alias (enable/disable)
simplelogin aliases toggle 123

# Delete an alias
simplelogin aliases delete 123

# View detailed information about an alias
simplelogin aliases info 123

Manage contacts

# List contacts for an alias
simplelogin contacts list 123

# Create a new contact for an alias
simplelogin contacts create 123 user@example.com

# Delete a contact for an alias
simplelogin contacts delete 123

# Toggle a contact (block/unblock)
simplelogin contacts toggle 123

Managing Custom Domains

# List all custom domains
simplelogin domains list

# View domain details
simplelogin domains info 42

# Update domain settings
simplelogin domains update 42 --catch-all=true --random-prefix=true

# View deleted aliases for a domain
simplelogin domains trash 42

Managing Mailboxes

# List all mailboxes
simplelogin mailboxes list

Advanced Usage

Specifying Mailboxes

When creating a custom alias, you can specify which mailboxes should receive emails:

simplelogin aliases create custom github --mailboxes=1,2,3

If you don't specify mailboxes, you'll be prompted to select them interactively.

Environment Variables

The tool recognizes the following environment variables:

  • SIMPLELOGIN_API_KEY: Your SimpleLogin API key
  • SIMPLELOGIN_CONFIG: Custom path to the configuration file
  • XDG_CONFIG_HOME: Base directory for user-specific configuration files

Troubleshooting

Common Issues

  1. API Key errors: Ensure your API key is correctly set and that it's valid in the SimpleLogin dashboard.

  2. Rate limiting: SimpleLogin may rate-limit API requests. If you encounter errors, try again after a short delay.

  3. Permissions issues: Some operations may require a premium SimpleLogin subscription.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Acknowledgements

Metadata

Release files for simplelogin 0.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simplelogin 0.2.6
File Size Uploaded
simplelogin-0.2.6.tar.gz 13.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simplelogin 0.2.6
File Interpreter ABI Platform
simplelogin-0.2.6-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 27.9 kB

Release files / simplelogin-0.2.6.tar.gz

Download URL simplelogin-0.2.6.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a396ac94e63719ae3532b0e9d70e98b00b254a06e1e61218f6594e04bb5b8f18
BLAKE2b-256 checksum
How to use checksums
13e911cd2a484937c2743c7bfbfa380dea57cfe2f6dc76cfcd8c690be5648c41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 24, 2026.

Transparency log

Release files / simplelogin-0.2.6-py2.py3-none-any.whl

Download URL simplelogin-0.2.6-py2.py3-none-any.whl
Size 14.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e2401f557f4fee6a74f706156253ac1b8ee0c6bebb211c3d1b0d8bf6de114677
BLAKE2b-256 checksum
How to use checksums
f45b7f2fb74a7264ac5bc2b79339263203c88fba6fbb01f112234a98a36bb451
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.6 This release

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.1

2 release files

0.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page