Probably a good idea to email him
First of all, if it's so close that it might be next to your pubic hairs (or under them) and it's soft & squishy, that's just the tubes that connect to your balls. They go up a bit high and don't just connect directly into the penis - they go up there.
If it's a hard lump, it might be a pimple or whitehead, but it's closer to the side of talking to someone about it, especially since it hurts. It's probably nothing too big, but just talk to your doc to make sure :-]