Or if you insist, you can do this:
:log info "ip info beginning now"
/tool e-mail set server=[:resolve smtp.xxxxxxx.com]
:delay 10s
:log info "ip being emailed"
/tool e-mail send to="
xxx@xxxxx.com" subject=([/system identity get name]. \
" ip info") from=[/system identity get name] body=([ /ip address get [/ip address find interface=pppoe-out1 ] address ]. \
" public ip address")
:log info "ip info finished"