To avoid being flagged as spam, use a professional email address, avoid using spam trigger words, include an unsubscribe link, and avoid using excessive capitalization and exclamation marks.