It’s currently on a private staging server. I forget to add that I’m also using “WP Mail SMTP”, maybe it could be the problem.
Anyway it looks that when the email is sent, the attachment is deleted from the file system. What I’d like is to keep the files (better on a different folder than other media files) in order to have a downloadable link in the email body. Is this possible or do I need to implement custom code?