Enviar Registro por Correo electrónico: Exact solution for first-order synchronization transition in a generalized Kuramoto model