"""Configuration for email monitoring bot."""
# Gmail API credentials file path
CREDENTIALS_FILE = os.path.expanduser('~/email-monitor/credentials.json')
TOKEN_FILE = os.path.expanduser('~/email-monitor/token.json')
# Email filter
SUBJECT_FILTER = "Contact Us" # Exact match or substring
# Telegram settings
TELEGRAM_BOT_TOKEN = os.environ.get('TELEGRAM_BOT_TOKEN')
TELEGRAM_CHAT_ID = os.environ.get('TELEGRAM_CHAT_ID')
# Check frequency (cron format)
# Twice daily: 8 AM and 8 PM
# "0 8,20 * * *"
# Gmail API settings
SCOPES = ['https://www.googleapis.com/auth/gmail.readonly']
MAX_RESULTS = 50 # Max emails to check per run