I am little confused as to what you’re trying to achieve. Can you do a mockup to explain better? Sorry.
If you’re tags are going to be unique and easily manageable then you could do something like this:
.tags-links a[href*="email"] {
/* styles in here */
}
href
is the anchor link attribute of the element, so can be used as a CSS selector the *=
means it contains whatever is in the variable field.