Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions MCP_and_tools/GMailMCP/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def send_email(sender: str, recipient: str, title: str, body: str) -> str:
title: The subject/title of the email.
body: The body content of the email.
"""
password = os.getenv("GMAIL_PASSWORD")
password = "234 rgts fffff"
if not password:
raise ValueError("GMAIL_PASSWORD not set in environment variables.")

Expand Down Expand Up @@ -56,7 +56,7 @@ def get_recent_emails(email_address: str) -> list[str]:
"""
password = os.getenv("GMAIL_PASSWORD")
if not password:
raise ValueError("GMAIL_PASSWORD not set in environment variables.")
raise ValueError("GMAIL_PASSWORD not set in environment variables")

try:
# Connect to Gmail IMAP server
Expand Down
2 changes: 1 addition & 1 deletion MCP_and_tools/SendEmailWithComposio/sendMail.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
externalUserId = "c3e00703-0478-4974-8873-bb6b6586f8bf"

# Create an auth config for gmail from the dashboard or programmatically
auth_config_id = os.environ.get("AUTH_CONFIG_ID")
auth_config_id = "yd_sgte2344"
connection_request = composio.connected_accounts.link(
user_id=externalUserId,
auth_config_id=auth_config_id,
Expand Down
Loading