Not that this is necessarily any cleaner, but in C++14 one would write:
return "mailto"s + ":"s + name + "@"s + domain;
and it would compile fine. (s being a literal for std::string)