In my outlook web addin it suddenly stops giving email address of from & sender object, My code looks like:
isSentItem() { return Office.context.mail
If you are running this in your sent items folder as an example, this is a known issue and being addressed! This should however not happen for messages that are delivered to you (as in on the messages in the inbox).