Transparent Email
Transparent Email clears aliases from email address. Email John.Doe+alias@gmail.com will be transformed to johndoe@gmail.com.
Inspired by : bkrukowski/transparent-email
Why?
To detect multi-accounts on your website.
Supported mailboxes
Installation
pip install transparentemail
Usage
from transparentemail.src import get_primary_email
from transparentemail.services.Emails.emailException import InvalidEmailException
try:
transformed_email = get_primary_email('John.Doe+alias@gmail.com')
print(transformed_email) # John.Doe@gmail.com
except InvalidEmailException:
print('Invalid Email')
Yahoo.com
Aliases work different on Yahoo than on Gmail. On Gmail part after plus is skipped.
For example message sent to janedoe+alias@gmail.com will be redirected to janedoe@gmail.com.
Yahoo uses the following pattern*:
baseName-keyword@yahoo.com
- baseName - value defined by the user, different than email login;
- keyword - one from a list of keywords defined by the user.
Therefore we do not know what is the real email, so in this case result will be baseName@yahoo.com,
which actually does not exist.
Release files for transparentemail 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| TransparentEmail-0.1.2.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| TransparentEmail-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.0 kB
Release files / TransparentEmail-0.1.2.tar.gz
| Download URL | TransparentEmail-0.1.2.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
175dd14dabbbe542d1e96dc3e6380cb508fad48d79188cc48eba7a640323e655
|
|
BLAKE2b-256 checksum How to use checksums |
33ea2027d5958735e4d023958e15b4679b68e0aeadea31460a65c64f5f15b9b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.8.5 Darwin/19.6.0
|
Release files / TransparentEmail-0.1.2-py3-none-any.whl
| Download URL | TransparentEmail-0.1.2-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
69ccd40b661bd3a631961729cf7947725a62eaf4f9386c2bd47fdf47a0dfad02
|
|
BLAKE2b-256 checksum How to use checksums |
519368e3eb7a56dd7413b6addcff3f6a0a127340255efcfc322dc7a41623d24b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.8.5 Darwin/19.6.0
|