Update to allow falsey email values to be provided

...efault gravater image will be loaded (instead of previous behaviour which caused an excption). Added tests.