Although, the emails said the are from "DPD delivery," they were actually sent from other email addresses. This type of trickery is called email spoofing. It is used by cybercriminals to trick potential victims into believing an email came from a legitimate source, when it was actually sent by them.
How to Determine if an Email is a Scam
Hover your cursor over the link in the email to view the URL before you click it. If you don’t recognise the URL, website address, or destination, don’t open it. Go directly to DPD's website at www.dpd.co.uk and enter the tracking number yourself.