Something like this to get server name and IP
declare @subject nvarchar (100)
declare @v-2 nvarchar(50)
set @v-2 = convert (nvarchar (50),case when CONNECTIONPROPERTY('local_net_address') is null then '' else CONNECTIONPROPERTY('local_net_address') end)
print @v-2
set @subject = 'SQL Agent Stopped, Please Check ' + @@SERVERNAME
print @subject
Probably a better way of doing it, this just just off the top of my head