<img width="320" alt="Screenshot 2023-08-03 at 13 38 50" src="https://github.com/FlowCrypt/flowcrypt-browser/assets/1062093/110b9a4d-18a6-4eee-bcf6-8560c9738afd"> Gmail replaces emoji in filename with `<img>` and it makes our regex for filename in [processAttachments](https://github.com/FlowCrypt/flowcrypt-browser/blob/8daed5fbe9008d246b0301b4f7952137eef1777e/extension/js/content_scripts/webmail/gmail-element-replacer.ts#L434) to fail. Possible solution - remove emojis from filename in regex and ignore `<img>` tags, then regex should work
Gmail replaces emoji in filename with
<img>and it makes our regex for filename in processAttachments to fail.Possible solution - remove emojis from filename in regex and ignore
<img>tags, then regex should work