Import Emails from Gmail to a table in Google Sheets with one click

Поделиться
HTML-код
  • Опубликовано: 15 окт 2024
  • In this project, we will learn how to import emails with it main data (subject, message, sender, etc) to a table in Google Sheets
    ➤You can find the template from this video in my patreon page, where you´ll also have priority responses to your questions
    practicalsheet...
    You can also join my academy practicalsheets.com, where you´ll find, not only the templates for this and all the videos, but also Google Sheets Courses, technical service, and more
    ➤You can also subscribe to the channel where you´ll find a new Sheets video every week.
    Here are some of the places where you can follow and support me:
    ➤Patreon: practicalsheet...
    ➤Webpage: practicalsheet...
    ➤Newsletter: practicalsheet...
    ➤Telegram: practicalsheet...
    ➤Facebook: practicalsheet...
    ➤Twitter: practicalsheet...
    Any suggestion, question or insights, feel free to comment below

Комментарии • 36

  • @92585068
    @92585068 Год назад +3

    Hey man! Excelent video.
    I think would be great if you show another in another video, the improvment of this script where we can see other filter options to bring to spreadsheet olny especifc data from e-mai. Like... sender, data, specific words on subject and text.
    Anyway. Excelent Job!

  • @anmolsharma5930
    @anmolsharma5930 6 месяцев назад +1

    Thanks a lot buddy for your video.

  • @danielitzhak4837
    @danielitzhak4837 11 месяцев назад

    Hi,
    Great session for this tutorial!
    How can I do it if I want to pull emails from a specific label from my Gmail? (Where do I need to write the label name?)
    I really appreciate any help you can provide.

  • @alinesatur
    @alinesatur 8 месяцев назад

    Hello! In the subject input are showing the following message "function () { [native code] }", How could I solve this?

  • @bcshetty11
    @bcshetty11 Год назад +1

    I have a store and i am using a pos machine so all transactions I did yesterday are sent to my Gmail with Excel attachment daily so i need to extract specific data from Excel. Please help me how to make this using appscript.

    • @practicalsheets
      @practicalsheets  Год назад

      I think it can be done. Is it excel? or sheets?
      Regards!

  • @olegbei7960
    @olegbei7960 10 месяцев назад

    Is it possible to obtain only unread messages?

  • @MithunKumarJain
    @MithunKumarJain Год назад

    Great video. Thank you for sharing.
    Can I automatically monitor my gmail whenever a new message arrived. When criteria matched(Subject or sender matches), scrip should send API call. can you please make similar video on this.

    • @practicalsheets
      @practicalsheets  Год назад

      Hello
      Thanks for the words!
      Normally, I do this with an API automator such as Zapier
      I may do a video on this
      Regards!

    • @tarunsingh42
      @tarunsingh42 Год назад

      were you able to find a solution to your use case?

    • @MithunKumarJain
      @MithunKumarJain Год назад

      @@tarunsingh42 I got one solution but not very reliable.. it do not work every time.

  • @saiyadakib3296
    @saiyadakib3296 7 месяцев назад +1

    Hi Sir,
    I need assistance setting up a Google Apps Script that automatically transfers important data from received emails into a spreadsheet. This will help me save time and easily track essential information without having to manually read through each email. Could you please guide me on how to achieve this?
    Does Google script work automatically when the email arrives?
    Could you please guide me on how to achieve this?

    • @practicalsheets
      @practicalsheets  6 месяцев назад

      In this case a better option would be using an automating service such as Make or Zapier. HAve you tried them? I should make a couple of videos. They are wonderful for these kind of immediate automations.
      Regards!

    • @saiyadakib3296
      @saiyadakib3296 6 месяцев назад

      @@practicalsheets No I did not try!
      Can u please make a video on this! This will be very helpful.
      Can You please provide me with your phone number or email?
      Thank you so much sir

    • @practicalsheets
      @practicalsheets  6 месяцев назад

      @@saiyadakib3296 I will put it in my queue. You may write at practical.sheets@gmail.com
      Kind Regards

  • @nagaraju1584
    @nagaraju1584 Год назад +1

    How can I get data if in a table format pls send code for app script
    My mails are attached with a label named ( birthday wishes) and I need to collect the employee details in sheet.

    • @practicalsheets
      @practicalsheets  Год назад

      Do you mean that the message has a table? That would be more complicated
      The code you´ll find in the patreon page
      You may modify the code to only bring a patricular label
      Regards!

  • @ThippeshVS
    @ThippeshVS Год назад +3

    Hi
    Kindly share the code how to import only sent emails for specific person

    • @practicalsheets
      @practicalsheets  11 месяцев назад +1

      Hello!
      How about something like this
      emails.forEach(email=>{
      var messageThread=email.getMessages()
      var msgTxt=messageThread[0].getPlainBody()
      var msgDate=messageThread[0].getDate()
      var msgSubject=messageThread[0].getSubject()
      var msgSender=messageThread[0].getFrom()
      var msgTo=messageThread[0].getTo()
      if(msgTo=="practical.sheets@gmail.com"){
      ss.appendRow([msgDate,msgSubject,msgSender,msgTxt])
      }
      })
      Regards!

    • @algirdassokolnikas4087
      @algirdassokolnikas4087 3 месяца назад

      Maybe you know the code how to import selected e-mails or simply open ones (to load the e-mail that is currently being read)? We are trying to make a print order management system. And it would make the job much easier.

  • @blibilb
    @blibilb 8 месяцев назад +1

    why does it only get the first 500 inbox mails.. its not even sorted by date

    • @practicalsheets
      @practicalsheets  4 месяца назад

      Hello!
      That´s the limit
      There is an argument where you could where to start, and how many mails you want to bring (no more than 500)
      You could "play with this initial to bring a lot of emails
      Regarding the sort, it will bring it as it is in your inbox. If you have your Gmail inbox sorted by date, it will bring it this way
      Kind Regards

  • @atifiqbal5150
    @atifiqbal5150 11 месяцев назад +1

    i waisted a lot time to do these settings but unsuccessful any one can help me to make this formula? Thanks!

    • @practicalsheets
      @practicalsheets  11 месяцев назад

      Do you have an error?
      Or are you not receiving anything?
      Regards!

  • @ctwilliamstechnologiesinc.7351
    @ctwilliamstechnologiesinc.7351 Год назад +1

    I paid for the script but i am getting an error i message you but got no reply..

  • @calyope7
    @calyope7 Год назад +1

    How about filtering by specific user labels

  • @lyndaarab5547
    @lyndaarab5547 Год назад +1

    NOT WORKING - i am getting an error : this action would increase the number of cells in the workbook above the limit

    • @practicalsheets
      @practicalsheets  Год назад +1

      Is your inbox too large?
      We could try in part 2 to filter by date or other criteria so you don´t have this problem
      Regards!

  • @SoleilCustomGuitars
    @SoleilCustomGuitars 4 месяца назад +1

    I cannot get it to link to my sheet to save my life!

    • @practicalsheets
      @practicalsheets  4 месяца назад

      You may share the code if you like.
      Kind Regards

  • @BusinessBananaShikhe
    @BusinessBananaShikhe Год назад +1

    Plz share script

    • @practicalsheets
      @practicalsheets  Год назад

      Hello!
      You'll find it in the patreon page
      Regards!

  • @spyxxx566
    @spyxxx566 8 месяцев назад

    how do I bring in a table inside the Gmail email's body?