diff --git a/MCP_and_tools/GMailMCP/main.py b/MCP_and_tools/GMailMCP/main.py index f0a20b1..43004f3 100644 --- a/MCP_and_tools/GMailMCP/main.py +++ b/MCP_and_tools/GMailMCP/main.py @@ -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.") @@ -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 diff --git a/MCP_and_tools/SendEmailWithComposio/sendMail.py b/MCP_and_tools/SendEmailWithComposio/sendMail.py index 7107242..3547ca0 100644 --- a/MCP_and_tools/SendEmailWithComposio/sendMail.py +++ b/MCP_and_tools/SendEmailWithComposio/sendMail.py @@ -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,