But: I f'ing love my job as a programmer. There is nothing in this world that I'd rather do. There's nothing that constantly fills me with as much joy as programming does. I admit that I might be a bit lucky here, having founded the company I'm working for; that allows me to pick my battles and find a good balance between stuff that's pure joy and stuff that's just a job.
I do however look out for everybody here who likes solving the interesting problems as much as I do - we try to keep the interesting problems evenly distributed between us.
The thing is: Many of the crappy tasks can still be made interesting: Form a challenge. Fix something related that has been bugging you constantly. Try to implement the crappy feature without performance regressions. Try to implement it in the cleanest way possible. Try to make your future self proud.
If it goes beyond changing the working in an email for the 100st time, I'm sure there is something in there that can make your task bearable or even enjoyable. At least it is for me.