I think it's honestly offensive to tell a candidate "we are interested in you not (only) because of your engineering skills but also because you are diverse."
It's good that Amazon is trying to become more diverse, but an email like this makes a candidate feel like they are being recruited for the wrong reason.