exchange2010Connect to Exchange 2010 to manage emails, calendar events, contacts, tasks, attachments, shared calendars, recurring events, and out-of-office settings.
Install via ClawdBot CLI:
clawdbot install pes0/exchange2010Exchange 2010 EWS integration for emails, calendar, contacts, and tasks.
Requires credentials in .env.credentials:
EXCHANGE_SERVER=mail.company.com
EXCHANGE_DOMAIN=company
EXCHANGE_EMAIL=user@company.com
EXCHANGE_PASSWORD=your_password
subjectcontains, startgte, etc.from skills.exchange2010 import get_account, get_unread_emails
account = get_account()
emails = get_unread_emails(account, limit=10)
for email in emails:
print(f"{email['subject']} from {email['sender']}")
from skills.exchange2010 import get_today_events
# Your own events
today = get_today_events()
# Events from shared calendar
today = get_today_events('shared@company.com')
from skills.exchange2010 import search_calendar_by_subject
from datetime import date
# Fast search for Ekadashi
ekadashi = search_calendar_by_subject(
email_address='shared@company.com',
search_term='Ekadashi',
start_date=date(2025, 1, 1),
end_date=date(2026, 12, 31)
)
print(f"Found: {len(ekadashi)} events")
from skills.exchange2010 import create_calendar_event
from datetime import datetime
create_calendar_event(
subject="Team Meeting",
start=datetime(2026, 2, 7, 14, 0),
end=datetime(2026, 2, 7, 15, 0),
body="Project discussion",
location="Conference Room A"
)
from skills.exchange2010 import update_calendar_event
from datetime import datetime
# Reschedule
update_calendar_event(
event_id='AAQkAG...',
start=datetime(2026, 2, 10, 14, 0),
end=datetime(2026, 2, 10, 15, 0),
location="New Room B"
)
from skills.exchange2010 import get_folder_emails, list_email_folders
# List all folders
folders = list_email_folders(account)
for f in folders:
print(f"{f['name']}: {f['unread_count']} unread")
# Sent Items
sent = get_folder_emails('sent', limit=10)
# Drafts
drafts = get_folder_emails('drafts')
# Trash
trash = get_folder_emails('trash')
from skills.exchange2010 import search_emails
# By sender
emails = search_emails(sender='boss@company.com', limit=10)
# By subject
emails = search_emails(subject='Invoice', folder='inbox')
# Unread only
emails = search_emails(is_unread=True, limit=20)
from skills.exchange2010 import mark_email_as_read
mark_email_as_read(email_id='AAQkAG...')
from skills.exchange2010 import get_email_attachments
# Show info
attachments = get_email_attachments(email_id='AAQkAG...')
for att in attachments:
print(f"{att['name']}: {att['size']} bytes")
# Download
attachments = get_email_attachments(
email_id='AAQkAG...',
download_path='/tmp/email_attachments'
)
Prerequisite: pip install PyPDF2 for PDF text extraction
from skills.exchange2010 import process_attachment_content
results = process_attachment_content(email_id='AAQkAG...')
for result in results:
print(f"File: {result['name']}")
if 'extracted_text' in result:
print(f"Content: {result['extracted_text'][:500]}...")
from skills.exchange2010 import search_contacts, resolve_name
# Search contacts
contacts = search_contacts('John Doe')
for c in contacts:
print(f"{c['name']}: {c['email']}")
# Resolve name (GAL)
result = resolve_name('john.doe@company.com')
if result:
print(f"Found: {result['name']} - {result['email']}")
from skills.exchange2010 import get_tasks, create_task, complete_task, delete_task
from datetime import datetime, timedelta
# Show open tasks
tasks = get_tasks()
for task in tasks:
status = '✅' if task['is_complete'] else '⏳'
print(f"{status} {task['subject']}")
# Create new task
task_id = create_task(
subject="Finish report",
body="Q1 report due Friday",
due_date=datetime.now() + timedelta(days=3),
importance="High"
)
# Mark as complete
complete_task(task_id)
# Delete
delete_task(task_id)
from skills.exchange2010 import get_recurring_events
recurring = get_recurring_events(
email_address='shared@company.com',
days=30
)
for r in recurring:
print(f"{r['subject']}: {r['recurrence']}")
from skills.exchange2010 import get_out_of_office, set_out_of_office
from datetime import datetime, timedelta
# Check status
oof = get_out_of_office()
print(f"Out of office active: {oof['enabled']}")
# Enable
set_out_of_office(
enabled=True,
internal_reply="I am on vacation until Feb 15th.",
external_reply="I am on vacation until Feb 15th.",
start=datetime.now(),
end=datetime.now() + timedelta(days=7),
external_audience='All' # 'All', 'Known', 'None'
)
# Disable
set_out_of_office(enabled=False, internal_reply="")
from skills.exchange2010 import send_email
send_email(
to=["recipient@example.com"],
subject="Test",
body="Hello!",
cc=["cc@example.com"]
)
| Function | Description |
|----------|-------------|
| get_account() | Connect to Exchange |
| get_unread_emails(account, limit=50) | Get unread emails |
| search_emails(search_term, sender, subject, is_unread, folder, limit) | Search emails |
| send_email(to, subject, body, cc, bcc) | Send email |
| mark_email_as_read(email_id) | Mark as read |
| get_email_attachments(email_id, download_path) | Download attachments |
| process_attachment_content(email_id, attachment_name) | Extract text |
| Function | Description |
|----------|-------------|
| get_folder_emails(folder_name, limit, is_unread) | Emails from folder |
| list_email_folders(account) | List all folders |
| Function | Description |
|----------|-------------|
| get_today_events(email_address) | Today's events |
| get_upcoming_events(email_address, days) | Next N days |
| get_calendar_events(account, start, end) | Events in range |
| get_shared_calendar_events(email, start, end) | Shared calendar |
| search_calendar_by_subject(email, term, start, end) | Fast search |
| create_calendar_event(subject, start, end, body, location) | Create event |
| update_calendar_event(event_id, ...) | Update event |
| get_event_details(event_id) | Show details |
| delete_calendar_event(event_id) | Delete event |
| get_recurring_events(email, start, end) | Recurring events |
| list_available_calendars(account) | List calendars |
| count_ekadashi_events(email, start_year) | Count Ekadashi |
| Function | Description |
|----------|-------------|
| search_contacts(search_term, limit) | Search contacts |
| resolve_name(name) | Resolve name (GAL) |
| Function | Description |
|----------|-------------|
| get_tasks(status, folder) | Get tasks |
| create_task(subject, body, due_date, importance, categories) | Create task |
| complete_task(task_id) | Mark complete |
| delete_task(task_id) | Delete task |
| Function | Description |
|----------|-------------|
| get_out_of_office(email_address) | Read status |
| set_out_of_office(enabled, internal_reply, ...) | Set OOF |
subjectcontains, startgte) are faster than iterationGenerated Mar 1, 2026
Employees in large organizations use this skill to automate email triage, schedule meetings, and manage shared calendars. It helps read unread emails, send messages, and coordinate events across teams, improving communication efficiency.
Support teams integrate this skill to monitor incoming emails for customer inquiries, download attachments like PDFs or TXTs for analysis, and mark emails as read after resolution. It streamlines response tracking and reduces manual effort.
Project managers utilize this skill to create and update calendar events for milestones, manage tasks with deadlines, and search for recurring meetings. It ensures team alignment and timely completion of project deliverables.
Human resources departments employ this skill to set out-of-office messages for employees, search contacts in the address book, and schedule onboarding events. It automates administrative tasks and enhances employee engagement.
Law firms use this skill to search emails by subject or sender for case-related correspondence, extract text from PDF attachments, and organize emails into folders like drafts or sent items. It aids in document retrieval and compliance.
Offer this skill as part of a subscription-based platform that integrates Exchange 2010 with other business tools like CRM or project management software. Revenue comes from monthly fees per user, targeting enterprises needing streamlined workflows.
Provide this skill as a managed service for small to medium businesses lacking in-house IT expertise. Revenue is generated through service contracts for setup, maintenance, and support, ensuring reliable email and calendar operations.
Develop custom implementations of this skill for specific industry needs, such as healthcare or finance, with enhanced security features. Revenue comes from one-time development projects and ongoing consulting fees for optimization.
💬 Integration Tip
Ensure .env.credentials are securely stored and consider using environment variables in production to avoid hardcoding sensitive data like passwords.
Interact with Google Calendar via the Google Calendar API – list upcoming events, create new events, update or delete them. Use this skill when you need programmatic access to your calendar from OpenClaw.
Read, search, and manage Outlook emails and calendar via Microsoft Graph API. Use when the user asks about emails, inbox, Outlook, Microsoft mail, calendar events, or scheduling.
Google Calendar via gcalcli: today-only agenda by default, bounded meaning-first lookup via agenda scans, and fast create/delete with verification--optimized for low tool calls and minimal output.
This skill should be used when interacting with Apple Calendar on macOS. Use it for listing calendars, viewing events, creating/updating/deleting calendar events, and checking availability/free-busy times. Triggers on requests like "check my calendar", "schedule a meeting", "what's on my schedule", "am I free tomorrow", or any calendar-related operations.
Access and manage Google Calendar events with gogcli for cross-calendar agendas, keyword search, and filtered outputs avoiding unwanted calendars like holidays.
Daily morning rollup of important emails and calendar events at 8am with AI-generated summaries