Scots yob wrote racially-abusive letter to pal's neighbour a