Skip to content

Instantly share code, notes, and snippets.

@egocks
egocks / raspi-gmail-imaplib.py
Last active August 29, 2015 14:05 — forked from ladyada/raspi-gmail.py
modified raspi-gmail.py; uses imaplib to accomplish the same goal
cat <<! > raspi-gmail.py
#!/usr/bin/env python
import RPi.GPIO as GPIO, imaplib, time
DEBUG = 1
USERNAME = "username" # just the part before the @ sign, add yours here
PASSWORD = "password"