AMT2 - Extracting Emails from your Gmail Inbox using python

AMT2 - Extracting Emails from your Gmail Inbox using python

DigitalSreeni

2 года назад

30,820 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@salonitongia
@salonitongia - 27.11.2023 19:12

This video is really helpful. however I am in process of developing a coding mechanism to fetch otp from gmail and enter it on another app. can you make a video for the same pls ?

Ответить
@flowcharttocodeconverter936
@flowcharttocodeconverter936 - 21.10.2023 09:38

Very good !

Ответить
@atangbingana283
@atangbingana283 - 20.09.2023 02:17

For example @DigitalSreeni I receive like 100 emails a week with updated inventory can I use this script to scrape that data from my gmail to pandas then to excel or do you have a video that can help me achieve that ?

Ответить
@Sapandream007
@Sapandream007 - 28.08.2023 19:15

it is saying app password is not avaiable for your account
india

Ответить
@TruongPham-tz9vi
@TruongPham-tz9vi - 26.08.2023 06:09

Thank for your helpfull tutorial. I did like your tut step by step, but get error ((with open("credentials.yml") as f:SyntaxError: unexpected EOF while parsing)) when run in spyder console. But when i open windows cmd, it work fine.

Ответить
@alvinclydeevangelista310
@alvinclydeevangelista310 - 22.08.2023 06:02

Thank you, very helpful. Now I can use some natural language processing with my emails!

Ответить
@federicojosegonzaleztoimil2895
@federicojosegonzaleztoimil2895 - 02.08.2023 15:49

Thanks, very clear and usefull. With this I automate a manual task in my business (without the expensive Zapier jeje)

Ответить
@oleksandr8607
@oleksandr8607 - 09.07.2023 23:15

Thank you very much!

Ответить
@ElProsaso001
@ElProsaso001 - 08.07.2023 22:51

Amazing video, very simple and helpfull, thanks a lot!

Ответить
@freeaudiobook7638
@freeaudiobook7638 - 15.04.2023 20:52

No longer available

Ответить
@MikeD-qx1kr
@MikeD-qx1kr - 01.03.2023 23:34

Great video, but is the code gone from github?

Ответить
@ayushagarwal8720
@ayushagarwal8720 - 12.02.2023 17:42

Thank you so much Sir, this video was very helpful. Thank you

Ответить
@kingsnow6718
@kingsnow6718 - 08.01.2023 19:03

Is there any need or method to logout Gmail..after Complete Process..I mean for Security purpose

Ответить
@israeladegoke7653
@israeladegoke7653 - 04.12.2022 16:24

But pls how do I convert it to CSV???

Ответить
@saratchaitanya402444
@saratchaitanya402444 - 29.11.2022 13:09

Thanks to your video. I was stuck at the authentication part and I was trying to find the reasons for authentication failure. Through your video I understood where I was wrong .

Ответить
@aetzag5448
@aetzag5448 - 27.10.2022 00:54

Very useful. Thank you for sharing your work and knowledge.

Ответить
@davem45
@davem45 - 22.10.2022 14:05

So glad I found your channel. Awesome tutorial. I would like to know if there is a way to get emails based on sender, month, and attachments? Each month when I do my reconciliation I have to search for the receipts and would like to automate that process so I can have python find and extract the pdfs. Is that even possible? (New to python) thank you

Ответить
@jonasrayet9369
@jonasrayet9369 - 04.10.2022 17:06

Hey there, I know this is quite old now but could you send me towards a vid that would explain how to then open a specific reoccurring link contained in the email ? (I'm creating a bot that would apply automatically for flat viewings)

Coming from a beginner, thank you so much for your videos ;)

Ответить
@spicer41282
@spicer41282 - 11.09.2022 07:57

👍You're a Natural Teacher!
Love your explanations.
An Even more detailed deeper explanations ?
for each variable arguments would be a Welcomed! fresh learning experience...
Specially for Noobies like me.

Can you expand on this code to include Images?
Thanks in advance for doing so.

Sub'd and Liked!
👍

Ответить
@TheCubicalGamer
@TheCubicalGamer - 04.08.2022 15:10

If we want to look through all emails what parameters should my_mail.search() have?

Ответить
@bharathraj4545
@bharathraj4545 - 27.07.2022 19:35

how to create a yml file. Please help me with this.

Ответить
@dinohasanbasic5714
@dinohasanbasic5714 - 27.07.2022 09:04

Hi, this is a great tool, now my question is, can i and how, add multiple gmail folders, lets say i have 30 gmails i want extracted, how can i in the do not share credentials file add more then one gmail accounts to check and make the tool go thru all accounts and export

Ответить
@palsam7767
@palsam7767 - 25.07.2022 09:34

If I try to fetch only the SUBJECT using,
typ, data = my_mail.fetch(nu, '(SUBJECT)')

I am getting following error:
error: FETCH command error: BAD [b'Could not parse command']

I need to fetch only the subject and the time it received, not the RFC822. could you pls help

Ответить
@maffigabri
@maffigabri - 20.07.2022 16:08

Your GIthub misses AMT2 file and folder

Ответить
@leonardroberts5715
@leonardroberts5715 - 21.06.2022 08:57

code is missng from github

Ответить
@prasandkumar1464
@prasandkumar1464 - 09.06.2022 15:17

Thank you Sreeni, it was awesome. I wanted to search emails received in the last 1 hour. But i found out in the imaplib search function we could use only date filters. Please correct me, if i'm wrong. Is there a way to use datetime filter.
Thanks in Advance.

Ответить
@akashr8514
@akashr8514 - 27.05.2022 17:38

we need one help from you sir for our project please can u help

Ответить
@donaldsouillet2307
@donaldsouillet2307 - 02.05.2022 09:12

I think there is a newer method to do this?

Ответить
@phmzk
@phmzk - 06.03.2022 13:33

This was very handy, and nicely explained, so thanks! Would you be able to elaborate on a few parts though? One being the key = 'FROM'...is there a way to build out the search here a little more? It also only seems to apply to a sender...what if I want to search for a phrase in my emails? The second thing is when you're executing the loop and use the get_payload(). This is outputting a large body of text for my particular case, whereas what I actually want is to be able to inspect that body and search for a few items: date mentioned, and value - these two are consistently in all my emails that I'm pulling, and always following the same pattern, so I've been trying to adapt your script by setting a variable as part.get_payload() instead of printing, assuming this is then storing that body string on which I can then run the search...but it doesn't seem to work. Would appreciate a follow-on tutorial or advice if you are able to :)

Ответить
@kwitt2190
@kwitt2190 - 04.03.2022 17:28

😜 Promo>SM!!!

Ответить