There is no legitimate "Wonder Mail Generator" for any Pokémon game. Wonder Mail codes are officially distributed by Nintendo/The Pokémon Company via:
Risks of fake generators: Malware, account bans, save corruption, phishing. Only use official sources. No tool can create valid codes—they’re server-verified.