Email scheduling based on specified events