Install
openclaw skills install @mcclawd/simplelogin-cliCreate and manage SimpleLogin email aliases from the command line. Protect your real email with secure, private aliases.
openclaw skills install @mcclawd/simplelogin-cliCreate and manage privacy-focused email aliases with SimpleLogin. Protect your real email address when signing up for services, newsletters, or online shopping.
# Install via ClawHub (when published)
clawhub install simplelogin-cli
# Or clone manually
git clone https://github.com/mcclawd/simplelogin-cli.git
export SIMPLELOGIN_API_KEY="your-api-key-here"
Store your API key in your password manager:
SimpleLogin API Keyapi_key = your API keyThe skill will automatically retrieve this if Warden or similar credential management is available.
# Create alias with your chosen prefix
simplelogin create shopping
# → shopping@yourdomain.com
# With note
simplelogin create amazon --note "Amazon purchases"
# → amazon@yourdomain.com
# For specific website
simplelogin create --for github.com
# → github-xyz@simplelogin.com
Reverse aliases let you send emails FROM your alias identity. Create a contact for each recipient:
# Create contact for a recipient
simplelogin contact-create shopping@example.com amazon-support@amazon.com
# → Reverse alias: abc123@simplelogin.co
# → Send emails to this address → forwards through shopping@example.com
# With JSON output (for automation)
export SIMPLELOGIN_JSON=true
simplelogin contact-create shopping@example.com vendor@company.com
# → Returns full JSON with reverse_alias and reverse_alias_address
How it works:
contact-create calls SimpleLogin API: POST /api/aliases/{id}/contactsreverse_alias field with obfuscated addressUse case: Enable refund requests, support inquiries, or any email sending from hidden identity.
# Generate random alias
simplelogin random
# → random_word123@simplelogin.com
# With note
simplelogin random --note "Newsletter signup"
# Show recent aliases
simplelogin list
# Show all
simplelogin list --all
# Filter by domain
simplelogin list --domain simplelogin.com
# Show all contacts (recipients) for an alias
simplelogin contact-list shopping@example.com
# → amazon-support@amazon.com → abc123@simplelogin.co
# → support@store.com → xyz789@simplelogin.co
# Disable alias
simplelogin disable shopping@yourdomain.com
# Enable alias
simplelogin enable shopping@yourdomain.com
# Delete alias
simplelogin delete shopping@yourdomain.com
When you receive a forwarded email and want to reply to the sender, you need to create a contact for your alias. This gives you a reverse alias email address that forwards through your alias.
# Create contact for an alias (get reverse alias)
simplelogin contact-create <alias_email> <contact_email>
# → Reverse alias: xxxxx@simplelogin.co
# → Send emails to this address → forwards through your alias
# List all contacts for an alias
simplelogin contact-list <alias_email>
# → support@example.com → xxxxx@simplelogin.co
Use case: You signed up for a service using shopping@yourdomain.com. They sent an email to your real mailbox. To reply, create a contact:
simplelogin contact-create shopping@yourdomain.com support@example.com
# → Reverse alias: bncxsoitvfvzjlxtohfzzq@simplelogin.co
# Now send your reply to the reverse alias
echo "My reply" | mail -s "Re: Your subject" bncxsoitvfvzjlxtohfzzq@simplelogin.co
The email will appear to come from shopping@yourdomain.com, keeping your real mailbox private.
Create a custom alias.
Options:
prefix - The alias prefix (before @)--note, -n - Add a note/description--for, -f - Suggest alias based on hostname (e.g., amazon.com)--mailbox, -m - Specify mailbox ID (default: first available)Examples:
simplelogin create shopping
simplelogin create amazon --note "Prime member"
simplelogin create --for netflix.com --note "Streaming"
Create a random alias.
Options:
--note, -n - Add a note/description--word, -w - Use word-based random (default: uuid-style)--mailbox, -m - Specify mailbox IDExamples:
simplelogin random
simplelogin random --note "Forum signup"
simplelogin random --word
Create a contact (recipient) for an alias, enabling you to send emails FROM the alias identity.
Arguments:
alias - The alias email addresscontact - The recipient email addressReturns: reverse_alias - Send emails to this address to send from your alias
Options:
SIMPLELOGIN_JSON=true for full JSON responseExamples:
simplelogin contact-create amazon@alias.com refunds@merchant.com
simplelogin create --for nordvpn.com support@nordvpn.com # Auto-suggests alias
List all contacts (recipients) configured for an alias.
Arguments:
alias - The alias email addressReturns: List of contact emails and their reverse aliases
List your aliases.
Options:
--all, -a - Show all aliases (not just recent)--domain, -d - Filter by domain--enabled - Show only enabled--disabled - Show only disabledManage existing aliases.
Examples:
simplelogin disable shopping@yourdomain.com
simplelogin enable shopping@yourdomain.com
simplelogin delete temp@simplelogin.com
Create a contact for an alias and get the reverse alias address.
Arguments:
alias - Your alias email (e.g., shopping@yourdomain.com)contact - The contact's email address (e.g., support@vendor.com)Examples:
simplelogin contact-create shopping@yourdomain.com support@vendor.com
# → Contact already exists for support@vendor.com
# → Reverse alias: bncxsoitvfvzjlxtohfzzq@simplelogin.co
# → Send emails to this address → forwards through shopping@yourdomain.com
What is a reverse alias? A reverse alias is a special email address that, when you send to it, forwards through your SimpleLogin alias and appears to come from your alias (hiding your real mailbox). This is how you reply to emails that were forwarded to you.
List all contacts for an alias with their reverse aliases.
Arguments:
alias - Your alias emailExamples:
simplelogin contact-list shopping@yourdomain.com
# → support@vendor.com → bncxsoitvfvzjlxtohfzzq@simplelogin.co
# → info@newsletter.com → atltfoczaqdtplypkciksufkpsnjpiqzvrnqrfptjjyxgomx@simplelogin.co
For programmatic use (agents, scripts), set SIMPLELOGIN_JSON=true:
export SIMPLELOGIN_JSON=true
simplelogin create shopping --note "Test"
# → {"email":"shopping@yourdomain.com","id":12345,"status":"created"}
Make sure you've set the SIMPLELOGIN_API_KEY environment variable or stored the key in your password manager.
Check your SimpleLogin account status. Free accounts have limited suffixes.
This is normal for test emails. Gmail may flag programmatic emails. Check your spam folder.
Contributions welcome! Please follow the existing code style and add tests for new features.
MIT License - See LICENSE file