Answer and explanation:
Giuseppe Mazzini's purpose for writing to the workingmen in 1858 was to encourage them and persuade them to be patriotic to their nation for that was the only home they had.
In his Essay On The Duties Of Man Addressed To The Workingmen in 1858, Giuseppe Mazzini started with the reference to the fact that God assigned people their countries and nationalities but that man has interrupted that design by conquering and overthrowing other nations.
Mazzini encouraged the workingmen in his country to love their country and fight for its dignity. He also urged them never to rest until the basic rights which make a country stand, namely, Education, Labour, and Franchise are granted to them.