CREATE TABLE IF NOT EXISTS emails ( id SERIAL PRIMARY KEY, body TEXT NOT NULL, subject TEXT, received_at TIMESTAMPTZ NOT NULL DEFAULT NOW() );