Flip device email logic for readability