A US court has convicted 25 people over a massive international email fraud network linked to Nigeria-led fraud groups.