Skip to main content

GmailBox

With this library, you can create random Gmail and receive messages

Install :

pip install -U GmailBox

How to use?

  • Here an example to use it:
from GmailBox import GmailBox

Gmail = GmailBox()

# Create a new gmail
New_Gmail = Gmail.new_email()
email = New_Gmail.email
print(email)

# Start checking the inbox
inbox = Gmail.inbox(email)

# If there are messages in the inbox, print them
if inbox:
    for message in inbox:
        print("=" * 21)
        print(message)
    print("=" * 21)
# If no messages were received, print a message
else:
    print(f' [!] No messages were received.')
  • Here an async example:
from GmailBox.asyncio import GmailBox
import asyncio

# Define the main function
async def main():
    Gmail = GmailBox()

    # Create a new gmail
    New_Gmail = await Gmail.new_email()
    email = New_Gmail.email
    print(email)
    
    # Start checking the inbox
    inbox = await Gmail.inbox(email)

    # If there are messages in the inbox, print them
    if inbox:
        for message in inbox:
            print("=" * 21)
            print(message)
        print("=" * 21)
    # If no messages were received, print a message
    else:
        print(f' [!] No messages were received.')

# Run the main function
asyncio.run(main())

On GitHub

Author

Hamo
Hamo • حـمــو
Instagram Instagram • Telegram Telegram

Metadata

Release files for GmailBox 1.0.0

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

Source distribution (sdist)

Source distribution for GmailBox 1.0.0
File Size Uploaded
gmailbox-1.0.0.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for GmailBox 1.0.0
File Interpreter ABI Platform
GmailBox-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.2 kB

Release files / gmailbox-1.0.0.tar.gz

Download URL gmailbox-1.0.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c1b9ee5084b550c4c149f315d91dfc3ce0f6ad56505d4057a4e7433ef4fe9695
BLAKE2b-256 checksum
How to use checksums
1b40de64b54db106302ca74bbd0e3fac6887336e32d9e5e12a5fec0be2570bae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release files / GmailBox-1.0.0-py3-none-any.whl

Download URL GmailBox-1.0.0-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9494fc6a5a27ff6307511c2fb4d7460eb862b0bb08fc9cf0b27758a4fe601656
BLAKE2b-256 checksum
How to use checksums
3947c341b14eb7d998cab8e56414b9021ab8cbc199c4505d8adf95d2db46bb4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

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