Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
pythonic_gmail 0.1.3 documentation
Logo
pythonic_gmail 0.1.3 documentation
Back to top
View this page

utils¶

pythonic_gmail.utils.extract_email_name(text: str) → str[source]¶

Extract the name part from an email string.

Example: “John Doe <john.doe@email.com>” -> “John Doe”

pythonic_gmail.utils.extract_email_address(text: str) → str[source]¶

Extract the email address part from an email string.

Example: “John Doe <john.doe@email.com>” -> “john.doe@email.com”

Copyright © 2025, Sanhe Hu
Made with Sphinx and @pradyunsg's Furo
On this page
  • utils
    • extract_email_name()
    • extract_email_address()