一键导入
Email management for bianinhoclaw@gmail.com — send, read, and manage emails autonomously using OAuth2 or App Passwords
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Email management for bianinhoclaw@gmail.com — send, read, and manage emails autonomously using OAuth2 or App Passwords
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create and manage a Z-Library account for the Bianinho agent — registration, email verification via IMAP, and login workflow
Criar tasks visíveis no painel AionUI Scheduled Tasks — inserir diretamente na SQLite do AionUI
Debug protocol for AionUI macOS DMG white screen crashes — pattern, fixes, bundle analysis, and workflow.
AionUI — plataforma multi-agent cowork (frontend Electron). Arquitectura real, modos de acesso (Xvfb, web viewer, noVNC), e integração com Bianinho/Hermes. NUNCA inventar arquitectura sem verificar primeiro.
Diagnóstico e otimização de performance do MacBook — memória RAM, LaunchAgents, processos, bateria e swap. Workflow completo de 5 ações testado no MacBook Pro M1 Pro 16GB.
Organização de arquivos macOS — estruturar Desktop, Documents, Downloads, criar tarefas cron de limpeza automática.
| name | |
| description | Email management for bianinhoclaw@gmail.com — send, read, and manage emails autonomously using OAuth2 or App Passwords |
| category | productivity |
| tags | ["email","gmail","oauth","automation"] |
~/.hermes/email_credentials.jsonbianinhoclaw@gmail.com and alvarobiano@gmail.comAuthorization URL format (for reference):
https://accounts.google.com/o/oauth2/auth?client_id=<ID>&response_type=code&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=...&access_type=offline&prompt=consent
~/.hermes/email_creds.gpg — contains {"email": "...", "app_password": "..."}gpg --decrypt ~/.hermes/email_creds.gpg~/.hermes/email_token.json (NOT active — OAuth flow incomplete)The send_email.py script uses SMTP with GPG-decrypted App Password. It tries GPG first, then falls back to OAuth. Example using SMTP directly:
import smtplib
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
import subprocess
import json
# 1. Decrypt credentials
result = subprocess.run(['gpg', '--decrypt', '/home/alvarobiano/.hermes/email_creds.gpg'],
capture_output=True, text=True, timeout=10)
creds = json.loads(result.stdout)
EMAIL = creds['email']
APP_PASSWORD = creds['app_password']
# 2. Send
msg = MIMEMultipart('mixed')
msg['From'] = EMAIL
msg['To'] = to_email
msg['Subject'] = subject
msg.attach(MIMEText(body, 'plain', 'utf-8'))
with smtplib.SMTP('smtp.gmail.com', 587) as server:
server.starttls()
server.login(EMAIL, APP_PASSWORD)
server.send_message(msg)
scripts/email_manager.py — Python script for email operationsscripts/email_oauth_setup.py — OAuth2 setup wizardscripts/send_email.py — Simple email sender# Send email
python3 ~/.hermes/skills/email/scripts/send_email.py --to "example@email.com" --subject "Hello" --body "Message"
# List recent emails
python3 ~/.hermes/skills/email/scripts/email_manager.py --list
# Read specific email
python3 ~/.hermes/skills/email/scripts/email_manager.py --read <message_id>