bash << 'EOF'
user="user_placeholder"
server="server_placeholder"
email="email_placeholder"
email_user=$(awk -F "@" '{print $1}' <<< $email)
email_domain=$(awk -F "@" '{print $2}' <<< $email)

path="/home/"$user"/.cpanel/nvdata/"$email_user"@"$email_domain"_default_webmail_app"
echo $path

htap="/home/"$user"/.cpanel/nvdata.cache"
echo $htap

if [ ! -e $path ];
    then echo [FATAL] No default webmail set for $email;
    exit;
fi

if [ ! -e $htap ];
   then echo [FATAL] No nvdata.cache file for $user;
   exit;
fi

rm -fv $path
rm -fv $htap
EOF
