index.js
function parseSubaddress(user) {
	var parsed = {
		username: user
	};
	if (user.indexOf('+')) {
		parsed.username = user.split('+')[0];
		parsed.subaddress = user.split('+')[1];
	}
	return parsed;
}
function parseSubaddress(user) {
	var parsed = {
		username: user
	};
	if (user.indexOf('+')) {
		parsed.username = user.split('+')[0];
		parsed.subaddress = user.split('+')[1];
	}
	return parsed;
}
function parseSubaddress ( user ) { var parsed = { username : user } ; if ( user . indexOf ( '+' ) ) { parsed . username = user . split ( '+' ) [ 0 ] ; parsed . subaddress = user . split ( '+' ) [ 1 ] ; } return parsed ; }
Parse the address - Useful for checking usernames in rcpt_to
Parse the address - Useful for checking usernames in rcpt_to