MDL-70130 core: Simplify attachment handling in email_to_suer