As the current design of the email management view allows an action for each email address, there have to be indices in the ids of the elements (which is already the case). Those indeces are used on the server side, but they are not necessarily the order in which the addresses are stored in the database.
Thus, there must be a comparison on the address itself in order to be sure to not delete a wrong address by accident.
As the current design of the email management view allows an action for each email address, there have to be indices in the ids of the elements (which is already the case). Those indeces are used on the server side, but they are not necessarily the order in which the addresses are stored in the database. Thus, there must be a comparison on the address itself in order to be sure to not delete a wrong address by accident.