Use email template builders that generate HTML code that is optimized for deliverability, and avoid using certain elements like JavaScript that can interfere with email deliverability. Additionally, ensure your email content is high-quality and relevant to your audience to avoid triggering spam filters.