Azerbaijani citizen Emil Mammadov, who was secretly working with the special services of Armenia, was detained on suspicion of treason.