send invoice via email + tests