The federal government plans to convene a meeting of foreign ambassadors next month to warn them not to interfere in the next election.