Envoyer la notice par courriel: Optimizing RMP spectrum for the minimization of fast-ion losses during ELM control