Your signup endpoint looks fine in development. A user registers, you save the row, you call your email provider, and you return 201 Created.