Distributing block-based email templates or campaigns