Email:

$ echo $URL | sed -E 's#.*//(([a-z]+)[^/]*).*#\2@\1#'

Assorted online accounts: