The sequence in servoy seems to be out of sync with youre database. You have to look ath youre email table to see what the max primairy key is. And then in dataproviders you have to set the sequence of the primairy key to the max value + 1.
Wil will build a extra button for this in the DataProvider dialog.