email in flow and invalidation cache in vendor