A letter threatening Muslims with death was sent to a mosque days after a senator made racist remarks, sparking fears about spiralling Islamophobia.