Tidy up argument parsing in release email script

@sarina @jarv: Can you guys review?