Use invitation.user.email or invitation.email as available.

This is the fix suggested in #29. It will use invitation.user.email if available and falls back to invitation.email if it is not.