def replace_sender(self):
		if cint(self.email_account.always_use_account_email_id_as_sender):
			self.set_header('X-Original-From', self.sender)

			sender_name, sender_email = email.utils.parseaddr(self.sender)
			self.sender = email.utils.formataddr((sender_name and self.email_account.name, self.email_account.email_id))
dataset/ETHPy150Open frappe/frappe/frappe/email/email_body.py/EMail.replace_sender/operator `or` -> `and`