added support for empty from address + added logging
added support for empty sender