Prosecutors say staff at the company exchanged racist emails and dubbed minority communities "ghetto".