Change control logic to include case where name is present

- A strange case like "John Doe <>" will result in the
  parser returning a name but no email
- When the random email is not generated then the analysis
  pass will break when it sends the post message to the id
  service with no email

- If a name is given but an email address is not then we
  previously would not enter the else statement where a random
  email address is generated and assigned

Signed-off-by: Mitchell Joblin <mitchell.joblin.ext@siemens.com>
Automatically generate analysis time windows

Signed-off-by: Mitchell Joblin <mitchell.joblin.ext@siemens.com>