@
has special meaning in a double quote delimited string.
Always start your script with:
use strict;
use warnings;
Then you will get alerted (if you read your log files):
Possible unintended interpolation of @xx in string
Then you can escape it:
mailto:xxx\@xx.com
Or use a single quoted string:
print q{<p align=right> <a href='mailto:xxx@xx.com'></a>Send EOS</p>\n};
Or don't embed your HTML in the middle of your Perl and use a Template language (like Template Toolkit).
You probably want to put some content in the anchor too.