updated email context and preview methods