What do you mean by "label name"? Depending on that, you might find your answer by looking at the code of this plugin, as it contains a setting for altering the sender name and thus two ways of retrieving a value for it.
When the question is about WordPress internals, https://codex.wordpress.org/ is the best source.