Post by bware on May 20, 2024 16:10:35 GMT
Een van de handig features die Google in het verleden had.
Je kon makkelijk emails naar calender events converteren.
Helaas kN ditnu niet meer. Maar wellicht kan GAS (google
application script) uitkomst brengen !
create a calendar entry from a gmail using google app script
Absolutely, Google Apps Script allows you to create calendar entries based on information from Gmail emails. Here's a general approach:
Enable the Calendar API: This grants your script access to modify your Google Calendar. You can find instructions in the Google Apps Script quickstart guide [3].
Write a Script: There are various ways to achieve this. Here are two options:
Triggered Script: You can write a script that runs when a Gmail message arrives with specific criteria (e.g., a label). This script would then parse the email content to extract details and create a corresponding calendar event. There are examples of creating calendar events from emails available online, like this one on GitHub [5].
Interactive Script: You can write a script that allows you to manually select a Gmail message and create a calendar event based on its content. This approach might be useful for one-off situations.
Parse Email Content: In both approaches, you'll need to parse the email content to identify relevant details for the calendar entry, such as title, date, and time.
While creating a script from scratch requires some coding knowledge, there are pre-written scripts available online that you can adapt to your needs.
Sources
Google Apps Script quickstart [[3]]
al-codaio/events-from-gmail [[5]]
tune
share
more_vert
Je kon makkelijk emails naar calender events converteren.
Helaas kN ditnu niet meer. Maar wellicht kan GAS (google
application script) uitkomst brengen !
create a calendar entry from a gmail using google app script
Absolutely, Google Apps Script allows you to create calendar entries based on information from Gmail emails. Here's a general approach:
Enable the Calendar API: This grants your script access to modify your Google Calendar. You can find instructions in the Google Apps Script quickstart guide [3].
Write a Script: There are various ways to achieve this. Here are two options:
Triggered Script: You can write a script that runs when a Gmail message arrives with specific criteria (e.g., a label). This script would then parse the email content to extract details and create a corresponding calendar event. There are examples of creating calendar events from emails available online, like this one on GitHub [5].
Interactive Script: You can write a script that allows you to manually select a Gmail message and create a calendar event based on its content. This approach might be useful for one-off situations.
Parse Email Content: In both approaches, you'll need to parse the email content to identify relevant details for the calendar entry, such as title, date, and time.
While creating a script from scratch requires some coding knowledge, there are pre-written scripts available online that you can adapt to your needs.
Sources
Google Apps Script quickstart [[3]]
al-codaio/events-from-gmail [[5]]
tune
share
more_vert