Hi David-
The other way to accomplish the task is to use a Style ADOR.
In InDesign create three (or more) InDesign Character Styles with the bold blue names below. Set the font size according to the fit that you need.
Depending on the font in the design, you also might need to tinker with the red numbers below which are the length of the email address.
if(Length(@{VAR_EMAIL}) >= 16)
{
"ExtraLongEmail" //note: Character style with font size 8
}
else if(Length(@{VAR_EMAIL}) >= 11 and Length(@{VAR_EMAIL}) <= 15)
{
"LongEmail"
//note:
Character style with font size 9.5
}
else
{
"RegularEmail"
//note:
Character style with font size as the same size as the rest of the text
}
Keep in mind that this routine merely counts characters and a "W" is wider than an "I". You could always add or subtract if/then/else statements to add/eliminate the number of character styles.
This technique should prepare the text to fit and then the copyfitting will finish the job.
p.s. I also suggest to use "No Break" in the Paragraph palette to ensure that the Email does not break over the line.