As for the other activities, well, this is how spying gets done. That is how you spy on people in this day and age. With all of the justified criticism of the NSA, it would still be bad if they couldn't spy at all. They do, in fact, have a function to fulfill, and it is a function that needs fulfilling.
Why don't you unpack that statement a little bit? What is the domestic function of the NSA?
If you said anything besides, "It doesn't have a domestic function" then you are wrong. The US government is not supposed to be spying on US citizens. If there's some foreign government or organization that's communicating with an American citizen or permanent resident in order to commit a crime, just get a goddamned warrant.