Envoyer par SMS: Controlling Resonator Nonlinearities and Modes through Geometry Optimization