Hi all,
As part of the AdminGPT project, I’ve recently developed a toolkit designed to help anyone working with Microsoft Outlook or Microsoft Office—specifically Office365—to streamline common email and calendar tasks using the OpenAI API. If you need to manage emails, schedule meetings, or check availability, this toolkit might be useful to you.
Key Features:
- Turnkey Functionality: Functions can be easily imported into existing OpenAI API applications, and run out-of-the-box
- Email Search: Easily find emails in Outlook by sender, subject, or attachments.
- Email Parsing: Extract meeting times directly from email content for faster scheduling.
- Free Time Detection: Automatically find available time slots on your Office365 calendar.
- Event Scheduling: Send meeting invites using extracted times from your emails.
- Email Reply Automation: Generate replies and send them through your Outlook account.
Why Use It?
If you’re looking to automate tasks like searching through emails, finding free calendar slots, or sending meeting invitations, this toolkit can help save time and reduce manual work out-of-the-box by integrating with Office365 and the OpenAI API.
Example Usage:
# Search emails in your inbox
emails = o365search_emails(
query="from:boss@company.com",
folder="inbox",
max_results=5)
# Find free time slots on your calendar
free_slots = o365find_free_time_slots(
start_datetime="2024-09-01T08:00:00-05:00",
end_datetime="2024-09-01T17:00:00-05:00"
)
# Send a meeting invite
o365send_event(
subject="Team Meeting",
start_datetime="2024-09-01T10:00:00-05:00",
end_datetime="2024-09-01T11:00:00-05:00",
attendees=["colleague1@company.com"]
)
Contributions Welcome
This is an open project so contributions and requests are welcome. Feel free to check out the repo and submit any issues or pull requests below.
GitHub: Office365 Toolkit for OpenAI API