Repository navigation
Replies: 1 comment
|
Hi! As far as I can tell from the source code, the dashboard can't do this lookup today. The alias search only matches the alias address, its note and its display name ( 1. Check the headers of an email that person sent you If you ever received an email from that person through SimpleLogin, open it and view the source/headers. SimpleLogin adds 2. Ask the API In the database, the reverse alias is the import json, time, urllib.request
API_KEY = "your-api-key"
TARGET = "something_at_gmail_com_gcezavx@simplelogin.co"
BASE = "https://app.simplelogin.io/api"
def get(path):
req = urllib.request.Request(BASE + path, headers={"Authentication": API_KEY})
with urllib.request.urlopen(req) as r:
return json.load(r)
page = 0
while True:
aliases = get(f"/v2/aliases?page_id={page}")["aliases"]
if not aliases:
break
for alias in aliases:
cpage = 0
while True:
contacts = get(f"/aliases/{alias['id']}/contacts?page_id={cpage}")["contacts"]
if not contacts:
break
for c in contacts:
if c["reverse_alias_address"].lower() == TARGET.lower():
print("Alias:", alias["email"], "| contact:", c["contact"])
raise SystemExit
cpage += 1
page += 1
time.sleep(1.5) # /api/v2/aliases allows 50 requests per minute
print("Not found")Both endpoints return 20 items per page, which is why the script keeps going until it gets an empty page. With 100+ aliases it takes a minute or so. Once you know the alias, open its contact page and create a contact for each extra person. Then write to all the reverse aliases from your mailbox. When you reply through reverse aliases, every address in To and Cc has to be a reverse alias. If SimpleLogin finds a plain address there, it doesn't send the email and notifies you instead. So add the new people as contacts of that same alias first. Hope this helps! |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
From my email client I can see that I have sent email to something_at_gmail_com_gcezavx@simplelogin.co . Now I would need to email that person again and add additional recipients. How can I find out which of the 100+ email aliases this something... is defined in? Ie. to which alias address I create one new contact?
#2426 didn't provide answer to me
All reactions